Repository navigation
docs(cli): document accepted --max-price-usd and claude aliases - #134
Open
escobarsanchez29 wants to merge 2 commits into
Open
escobarsanchez29 wants to merge 2 commits into
escobarsanchez29 wants to merge 2 commits into
Conversation
Signed-off-by: escobarsanchez29 <[email protected]>
Signed-off-by: escobarsanchez29 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-usdis 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 viaaliasedOption(parsed, '--max', '--max-price-usd').vapi mcp install:claudeis accepted as an alias forclaude-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 buildorpnpm pack:checklocally 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 livevapi router modelsoutput is unaffected (unrelated).Written with the help of an AI assistant (Muse).