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

Option to control exit #11

Open
jasonkuhrt opened this issue Sep 13, 2022 · 0 comments
Open

Option to control exit #11

jasonkuhrt opened this issue Sep 13, 2022 · 0 comments
Labels
@molt/command type/feat New feature or request

Comments

@jasonkuhrt
Copy link
Owner

Perceived Problem

When @molt/parameters fail the output is ugly

Ideas / Proposed Solution(s)

Setting to control exit:

.settings({
  exitOnParseError: true
})

Helper function for pretty printing the rejections:

Parameters.presentRejection(rejections)
@jasonkuhrt jasonkuhrt added type/feat New feature or request @molt/command labels Sep 13, 2022
@jasonkuhrt jasonkuhrt changed the title @molt/parameters option to control exit Option to control exit Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@molt/command type/feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant