From 671a9e76fb1dc4b58099e82d94f63fd346b52146 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Thu, 18 Dec 2025 04:34:33 -0500 Subject: [PATCH] fix(cli): route 'ccs copilot' without subcommand to help --- src/ccs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ccs.ts b/src/ccs.ts index 9dd50056..e2cd448d 100644 --- a/src/ccs.ts +++ b/src/ccs.ts @@ -339,8 +339,8 @@ async function main(): Promise { } // Special case: copilot command (GitHub Copilot integration) - if (firstArg === 'copilot' && args.length > 1) { - // `ccs copilot ` - route to copilot command handler + if (firstArg === 'copilot') { + // `ccs copilot [subcommand]` - route to copilot command handler const { handleCopilotCommand } = await import('./commands/copilot-command'); const exitCode = await handleCopilotCommand(args.slice(1)); process.exit(exitCode);