-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
Commander calls exit under various circumstances, such as after displaying an error or the help. This is pretty convenient for the caller of a one-shot parse in a CLI, but is a problem when Commander is being used as part of a long running program or if caller wants more control over the failure handling.
Issues:
- optional exit value for Help. (feature request) #188 optional exit value for Help. (feature request)
- process.exit(64) #435 process.exit(64)
- Explicitly return when an error occurs #443 Explicitly return when an error occurs
- Make calls to process.exit() overridable #575 Make calls to process.exit() overridable
- Parse multiple commands without exiting the process #934 Parse multiple commands without exiting the process
Pull Requests:
- Add support for exit codes. #436 Add support for exit codes.
- Explicitly return from error methods #444 Explicitly return from error methods
- Make process.exit() injectable. #576 Make process.exit() injectable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels