Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add HelpWriter and ErrorWriter (#2) #267

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

sergiy-petrov
Copy link
Contributor

Currently sql-migrate --version outputs to stderr instead of stdout

I've added HelpWriter and ErrorWriter to cli.CLI

image

https://github.com/mitchellh/cli/blob/784fcd13e857c49c0e5738a19707762f372a3eb3/cli.go#L119

* add HelpWriter and ErrorWriter
@rubenv
Copy link
Owner

rubenv commented Jun 12, 2024

Not sure how much of a backwards compatibility break this is. Probably fine, the output of the CLI is not something you should really depend on (use the library instead!).

Thanks!

@rubenv rubenv merged commit 29b22c8 into rubenv:master Jun 12, 2024
13 checks passed
@sergiy-petrov sergiy-petrov deleted the version-to-stdout branch June 13, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants