From 70bca4a7a61471d5c1bfcc73564c4d962d7aa125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20K=C3=B6lker?= Date: Thu, 15 Jan 2026 00:00:57 +0000 Subject: [PATCH] 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. --- src/cli/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cli/index.ts b/src/cli/index.ts index cad0e8c0..d5246fbe 100644 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -26,12 +26,13 @@ program .option("--claude ", "Claude subscription: no, yes, max20") .option("--chatgpt ", "ChatGPT subscription: no, yes") .option("--gemini ", "Gemini integration: no, yes") + .option("--copilot ", "GitHub Copilot subscription: no, yes") .option("--skip-auth", "Skip authentication setup hints") .addHelpText("after", ` Examples: $ 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=no --chatgpt=no --gemini=no + $ 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 --copilot=yes Model Providers: Claude Required for Sisyphus (main orchestrator) and Librarian agents @@ -44,6 +45,7 @@ Model Providers: claude: options.claude, chatgpt: options.chatgpt, gemini: options.gemini, + copilot: options.copilot, skipAuth: options.skipAuth ?? false, } const exitCode = await install(args)