zz_

5f98c7a3 ยท zzmq.dev@gmail.com/zz

Commit

5f98c7a3b98082e0bda002104bc006148c8d78f9

zz --help/--version: ASCII banner with the real package version spliced in zz --help (and bare `zz`) now shows the banner before the usual description/usage/options -- attached via addHelpText("before", ...) on the root command only, so subcommand help (zz work --help) stays unchanged. zz --version shows the same banner by default; --version --simple prints just the bare version string, for scripts/automation that parse the output. Checked directly against argv ahead of commander's own parsing -- commander's built-in .version() has no hook for "print something else based on a second flag," so this sidesteps it rather than fighting it. The banner itself is verbatim ASCII art (String.raw, so none of its backslashes need escaping to match exactly), with "v2.0.0" as the one token that gets replaced with the real `package.json` version. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q8tksS4bucUkJguqksSVYR

Troy Howard <thoward37@gmail.com> -- 2026-10-13T19:29:02.000Z

Tree at this commit