Skip to content

fix: add CLI version flag#7

Merged
isingh merged 1 commit into
wastedcode:mainfrom
120850853:fix-cli-version-flag
Jun 7, 2026
Merged

fix: add CLI version flag#7
isingh merged 1 commit into
wastedcode:mainfrom
120850853:fix-cli-version-flag

Conversation

@120850853

Copy link
Copy Markdown

Summary

  • register Commander's top-level version option from package.json
  • add CLI integration coverage for claudemux --version

Reproduction

Published @wastedcode/claudemux@0.2.1 handles --help, but --version is rejected as an unknown option:

--help status=0 signal=null
--version status=1 signal=null stderr="error: unknown option '--version'\n"

Verification

  • npm run build
  • npx vitest run test/cli/cli.test.ts
  • npm run typecheck
  • npm run check
  • npm pack + clean install tarball smoke for claudemux --help and claudemux --version

@isingh isingh merged commit 8d18c84 into wastedcode:main Jun 7, 2026
7 checks passed
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.

2 participants