From b9e7d7bd135f421ca86d184f90e86effc7472fc7 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 7 Jan 2026 20:35:48 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-07T20:35:48Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/v3/@claude-flow/cli/src/index.ts b/v3/@claude-flow/cli/src/index.ts index fc2802f2d4..6ef4ab0c38 100644 --- a/v3/@claude-flow/cli/src/index.ts +++ b/v3/@claude-flow/cli/src/index.ts @@ -293,8 +293,12 @@ export class CLI { /** * Show command-specific help */ - private showCommandHelp(commandName: string): void { - const command = getCommand(commandName); + private async showCommandHelp(commandName: string): Promise { + // Try sync first, then lazy load + let command = getCommand(commandName); + if (!command && hasCommand(commandName)) { + command = await getCommandAsync(commandName); + } if (!command) { this.output.printError(`Unknown command: ${commandName}`);