Problem
skill-audit . --output foo silently drops the unknown flag and runs, so a user who thinks output went to a file loses results.
Where
src/cli.js (parseArgs has branches only for known flags; dashed unknowns match nothing).
Acceptance
Add a failing test first asserting an unknown option exits non-zero with an "unknown option" message. Then fix.
Problem
skill-audit . --output foosilently drops the unknown flag and runs, so a user who thinks output went to a file loses results.Where
src/cli.js(parseArgshas branches only for known flags; dashed unknowns match nothing).Acceptance
Add a failing test first asserting an unknown option exits non-zero with an "unknown option" message. Then fix.