cli: real arg parsing — -h/--help/--version, score subcommand, safe walks
-h used to fall through as a lint target; unknown flags vanished silently;
the no-arg walk hit .Trash and died on EPERM. Now: flags parsed properly
(unknown = exit 2), dot-directories skipped (--hidden to include), directory
symlinks never followed, unreadable dirs warn instead of crashing, and the
score subcommand the header always advertised actually exists.
Co-Authored-By:
Claude Code <noreply@anthropic.com>
Showing
test/cli.test.mjs
0 → 100644
Please
register
or
sign in
to comment