We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you override the exit handling via program.exitOverride() you still get console messages due to all the console.log()s starting at line https://github.com/tj/commander.js/blob/master/index.js#L1097.
The text was updated successfully, but these errors were encountered:
Yes, .exitOverride() allows you to override just the exit part of the handling, and does not give you full control over the error handling.
.exitOverride()
exit
This is mentioned in the README:
The normal display of error messages or version or help is not affected by the override which is called after the display.
https://github.com/tj/commander.js#override-exit-handling
Sorry, something went wrong.
An answer was provided, and no further activity in a month. Closing this as resolved.
Feel free to open a new issue if it comes up again, with new information and renewed interest.
Adding support for overriding messages to console in #1387
No branches or pull requests
If you override the exit handling via program.exitOverride() you still get console messages due to all the console.log()s starting at line https://github.com/tj/commander.js/blob/master/index.js#L1097.
The text was updated successfully, but these errors were encountered: