From 2145e62ddd18986a1e5f15001e79b80ec21fd80d Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Wed, 17 Dec 2025 22:15:19 -0500 Subject: [PATCH] docs(help): add GitHub Copilot section to --help output - add new major section for copilot integration - document all copilot subcommands (auth, status, models, start, stop, enable, disable) - show prerequisite: npm install -g copilot-api --- src/commands/help-command.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/commands/help-command.ts b/src/commands/help-command.ts index 350e7d9b..618dfd23 100644 --- a/src/commands/help-command.ts +++ b/src/commands/help-command.ts @@ -173,6 +173,27 @@ Claude Code Profile & Model Switcher`.trim(); ] ); + // ═══════════════════════════════════════════════════════════════════════════ + // MAJOR SECTION 4: GitHub Copilot Integration + // ═══════════════════════════════════════════════════════════════════════════ + printMajorSection( + 'GitHub Copilot Integration', + [ + 'Use your GitHub Copilot subscription with Claude Code', + 'Requires: npm install -g copilot-api', + ], + [ + ['ccs copilot', 'Use Copilot as API backend'], + ['ccs copilot auth', 'Authenticate with GitHub'], + ['ccs copilot status', 'Show integration status'], + ['ccs copilot models', 'List available models'], + ['ccs copilot start', 'Start copilot-api daemon'], + ['ccs copilot stop', 'Stop copilot-api daemon'], + ['ccs copilot enable', 'Enable integration'], + ['ccs copilot disable', 'Disable integration'], + ] + ); + // ═══════════════════════════════════════════════════════════════════════════ // SUB-SECTIONS (simpler styling) // ═══════════════════════════════════════════════════════════════════════════