Closed sergiy-petrov closed 1 month ago
Currently sql-migrate --version outputs to stderr instead of stdout
sql-migrate --version
I've added HelpWriter and ErrorWriter to cli.CLI
https://github.com/mitchellh/cli/blob/784fcd13e857c49c0e5738a19707762f372a3eb3/cli.go#L119
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!
Currently
sql-migrate --version
outputs to stderr instead of stdoutI've added HelpWriter and ErrorWriter to cli.CLI
https://github.com/mitchellh/cli/blob/784fcd13e857c49c0e5738a19707762f372a3eb3/cli.go#L119