Skip to content
New issue

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

[Feature Request] Pass exit code to cli.outputHelp()? #45

Open
1 of 3 tasks
spiltcoffee opened this issue Mar 4, 2019 · 0 comments
Open
1 of 3 tasks

[Feature Request] Pass exit code to cli.outputHelp()? #45

spiltcoffee opened this issue Mar 4, 2019 · 0 comments

Comments

@spiltcoffee
Copy link

spiltcoffee commented Mar 4, 2019

Issue Type

  • Bug Report
  • 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() calls process.exit(0) for me.

Possible Solutions

  • Pass exit code to cli.outputHelp()
  • Stop calling process.exit(0) in cli.outputHelp() (breaking change, though)

Info

  • CAC version: 6.4.2
  • Reproduction link:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant