Skip to content

fix(cli): Accept the command name when naming a provider - #74

Merged
shettydev merged 1 commit into
mainfrom
fix/provider-command-aliases
Sep 20, 2026
Merged

shettydev merged 1 commit into
mainfrom
fix/provider-command-aliases

Conversation

@shettydev

Copy link
Copy Markdown
Owner

--provider and AI_PROVIDER took only the full ids, so the hint's own example
(--provider agy) was refused. Both now also accept the command each CLI runs
as — agy, claude — and resolve it to the id the launchers save and pass on.

  • Name the alias in the unsupported-value error and in --help
  • Cover both names for --provider and AI_PROVIDER in the tests

--provider and AI_PROVIDER took only the full ids, so the hint's own example
(`--provider agy`) was refused. Both now also accept the command each CLI runs
as — agy, claude — and resolve it to the id the launchers save and pass on.

- Name the alias in the unsupported-value error and in --help
- Cover both names for --provider and AI_PROVIDER in the tests
@shettydev
shettydev merged commit 95ef450 into main Sep 20, 2026
2 checks passed
@shettydev
shettydev deleted the fix/provider-command-aliases branch September 20, 2026 15:38
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