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
When using subcommands, it would be nice to have error handling bubble up, much like setup and cleanup
The text was updated successfully, but these errors were encountered:
An ideia would be rethrow the error in this line:
citty/src/main.ts
Lines 34 to 36 in fea15c4
This way:
if (!isCLIError) { throw error; }
And then we can handle the error in the main script:
runMain(main).catch((err) => { // handle error })
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the feature
When using subcommands, it would be nice to have error handling bubble up, much like setup and cleanup
Additional information
The text was updated successfully, but these errors were encountered: