Skip to content

docs(cli): document accepted --max-price-usd and claude aliases - #134

Open
escobarsanchez29 wants to merge 2 commits into
vAPI-Network:mainfrom
escobarsanchez29:docs/cli-aliases
Open

escobarsanchez29 wants to merge 2 commits into
vAPI-Network:mainfrom
escobarsanchez29:docs/cli-aliases

Conversation

@escobarsanchez29

Copy link
Copy Markdown

docs/cli.md opens with 'Every vapi command, its options and its exit codes', but two accepted aliases were missing from its rows even though the repo's own guides document them and the source implements them:

  • vapi pay: --max-price-usd is a long-standing alias for --max (docs/call.md: 'vapi pay also accepts --max-price-usd as a long-standing alias for --max; the two cannot be combined'). Implemented in packages/cli/src/cli.ts via aliasedOption(parsed, '--max', '--max-price-usd').
  • vapi mcp install: claude is accepted as an alias for claude-desktop (docs/mcp.md: 'The claude target remains an alias for claude-desktop and prints a note naming claude-code'). Implemented in packages/cli/src/mcp-install.ts (requestedApp === 'claude' ? 'claude-desktop' : requestedApp).

This PR adds both aliases to their rows in docs/cli.md and adds one line under Unreleased in CHANGELOG.md, per CONTRIBUTING.md.

No behavior change, no compatibility or security consequences — documentation only.

Tests: I did not run pnpm check, pnpm build or pnpm pack:check locally in this environment, so please rely on CI for the verify and dco checks. I verified the two aliases against the 0.17.4 source and the live vapi router models output is unaffected (unrelated).

Written with the help of an AI assistant (Muse).

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.

1 participant