Skip to content

Feat: command-decided exit codes (fixes #50) - #69

Merged
HafizMMoaz merged 1 commit into
mainfrom
feat/issue-50-exit-code
Sep 7, 2026
Merged

Feat: command-decided exit codes (fixes #50)#69
HafizMMoaz merged 1 commit into
mainfrom
feat/issue-50-exit-code

Conversation

@HafizMMoaz

Copy link
Copy Markdown
Member

Command::run() can now return an int exit code and Console::run()/exec() return the resulting code so entry points can forward it to the process. Unknown commands and validation failures report exit code 1, and Help reports through the same path. Adds in-process tests and an argv leak hardening for the defaults test.

@HafizMMoaz
HafizMMoaz merged commit f5b6a03 into main Sep 7, 2026
2 checks passed
@HafizMMoaz
HafizMMoaz deleted the feat/issue-50-exit-code branch September 7, 2026 09:48
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.

1 participant