fix(cli): add copilot install flag
Installer validation already requires --copilot, but the CLI command did not expose the option, so non-TUI runs could not supply the flag. Add the option and update help examples.
This commit is contained in:
parent
b1f19cbfbd
commit
70bca4a7a6
@ -26,12 +26,13 @@ program
|
|||||||
.option("--claude <value>", "Claude subscription: no, yes, max20")
|
.option("--claude <value>", "Claude subscription: no, yes, max20")
|
||||||
.option("--chatgpt <value>", "ChatGPT subscription: no, yes")
|
.option("--chatgpt <value>", "ChatGPT subscription: no, yes")
|
||||||
.option("--gemini <value>", "Gemini integration: no, yes")
|
.option("--gemini <value>", "Gemini integration: no, yes")
|
||||||
|
.option("--copilot <value>", "GitHub Copilot subscription: no, yes")
|
||||||
.option("--skip-auth", "Skip authentication setup hints")
|
.option("--skip-auth", "Skip authentication setup hints")
|
||||||
.addHelpText("after", `
|
.addHelpText("after", `
|
||||||
Examples:
|
Examples:
|
||||||
$ bunx oh-my-opencode install
|
$ bunx oh-my-opencode install
|
||||||
$ bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes
|
$ bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes --copilot=no
|
||||||
$ bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no
|
$ bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
|
||||||
|
|
||||||
Model Providers:
|
Model Providers:
|
||||||
Claude Required for Sisyphus (main orchestrator) and Librarian agents
|
Claude Required for Sisyphus (main orchestrator) and Librarian agents
|
||||||
@ -44,6 +45,7 @@ Model Providers:
|
|||||||
claude: options.claude,
|
claude: options.claude,
|
||||||
chatgpt: options.chatgpt,
|
chatgpt: options.chatgpt,
|
||||||
gemini: options.gemini,
|
gemini: options.gemini,
|
||||||
|
copilot: options.copilot,
|
||||||
skipAuth: options.skipAuth ?? false,
|
skipAuth: options.skipAuth ?? false,
|
||||||
}
|
}
|
||||||
const exitCode = await install(args)
|
const exitCode = await install(args)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user