cac
cac copied to clipboard
[Feature Request] Pass exit code to `cli.outputHelp()`?
Issue Type
- [ ] Bug Report
- [x] Feature Request
- [ ] Other
Expected
- That when I manually call
cli.outputHelp(), that I can then set the exit code (e.g. to 1).
Actual
- Calling
cli.outputHelp()callsprocess.exit(0)for me.
Possible Solutions
- Pass exit code to
cli.outputHelp() - Stop calling
process.exit(0)incli.outputHelp()(breaking change, though)
Info
- CAC version: 6.4.2
- Reproduction link: