Merge pull request #800 from jkoelker/fix_cli_install
fix(cli): add copilot install flag
This commit is contained in:
commit
41fa37eb11
@ -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