cli
cli copied to clipboard
Help description shows after Before function returns error
When the Before
function for a subcommand
returns an error
which satisfies cli.ExitError
, the help
texts are printed after error message before exiting!
On returning an error
I simply want the app
to be exited by specified code
.
👍 -- I could see both behaviors potentially being desirable, but I think we could probably modify ExitError
to indicate whether or not to print the help.
This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.
Closing this as it has become stale.
Verified that said behaviour doesnt exist in latest release v2.23.6