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

Exit with 1 when requesting an invalid subcommand #60

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

lv-develer
Copy link
Collaborator

Quark prints the available command list when no command or an invalid command was requested. This can be considered an error and we should exit with a status code != 0, so that e.g. CI pipelines can promptly fail.

Quark prints the available command list when no command or an invalid
command was requested. This can be considered an error and we should
exit with a status code != 0, so that e.g. CI pipelines can promptly
fail.
@cvtsi2sd cvtsi2sd merged commit 514f52d into master Feb 7, 2025
3 checks passed
@lv-develer lv-develer deleted the exit-with-1-unknown-command branch February 11, 2025 12:46
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

Successfully merging this pull request may close these issues.

2 participants