Skip to content

fix: accept --platform claude-code as alias for claude#78

Open
AR6420 wants to merge 1 commit intotirth8205:mainfrom
AR6420:fix/platform-claude-code-alias
Open

fix: accept --platform claude-code as alias for claude#78
AR6420 wants to merge 1 commit intotirth8205:mainfrom
AR6420:fix/platform-claude-code-alias

Conversation

@AR6420
Copy link
Copy Markdown

@AR6420 AR6420 commented Mar 28, 2026

Fixes #76

Problem

The README documents --platform claude-code but the CLI only accepts --platform claude.
Users who copy-paste from the docs get:

error: argument --platform: invalid choice: 'claude-code'

Solution

Added claude-code as an accepted alias in the argparse choices list.
It normalizes to claude internally so all existing logic works unchanged.

Testing

  • Existing tests pass
  • code-review-graph install --platform claude-code now works identically to --platform claude

The README documents --platform claude-code but the CLI only accepts
--platform claude. Added claude-code as an accepted alias that maps
to claude internally.

Fixes tirth8205#76

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Docs show "--platform claude-code" but CLI only accepts "--platform claude"

1 participant