Development record
`abcd guard check` given the command line as a positional argument (`abcd guard check 'git status'`) refuses with cobra's "unknown command … for abcd guard check" and exit 2, which the verb documents as 'a guard that cannot be evaluated'. A caller reading the exit code is told the command is unparsable, and the message does not mention --command or stdin, the two forms the verb takes. Hit on 2026-10-11 while reproducing guard advisories: every case returned exit 2 until the --command flag was found in the help.
issueopenminoriss-2610111729417484
abcd guard check given the command line as a positional argument (abcd guard check 'git status') refuses with cobra's "unknown command … for abcd guard check" and exit 2, which the verb documents as 'a guard that cannot be evaluated'. A caller reading the exit code is told the command is unparsable, and the message does not mention --command or stdin, the two forms the verb takes. Hit on 2026-10-11 while reproducing guard advisories: every case returned exit 2 until the --command flag was found in the help.
Frontmatter
| id | iss-2610111729417484 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610111729417484-guard-check-positional-arg-reads-as.md
open on GitHub ↗ · commit history ↗