From bd26c586c8a59b6549d267cc134a652d7f07af95 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 26 Jan 2026 18:47:47 +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: fix/cli-help-categories - Timestamp: 2026-01-26T18:47:47Z - 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/commands/index.ts | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/v3/@claude-flow/cli/src/commands/index.ts b/v3/@claude-flow/cli/src/commands/index.ts index ea88a4cdf5..17e092243e 100644 --- a/v3/@claude-flow/cli/src/commands/index.ts +++ b/v3/@claude-flow/cli/src/commands/index.ts @@ -214,6 +214,39 @@ export const commands: Command[] = [ hiveMindCommand, ]; +/** + * Commands organized by category for help display + */ +export const commandsByCategory = { + primary: [ + initCommand, + startCommand, + statusCommand, + agentCommand, + swarmCommand, + memoryCommand, + taskCommand, + sessionCommand, + mcpCommand, + hooksCommand, + ], + advanced: [ + neuralCommand, + securityCommand, + performanceCommand, + embeddingsCommand, + hiveMindCommand, + ruvectorCommand, + ], + utility: [ + // These are lazy-loaded, will be populated when accessed + doctorCommand, + daemonCommand, + ], + analysis: [] as Command[], // Lazy-loaded: analyze, route, progress + management: [] as Command[], // Lazy-loaded: providers, plugins, deployment, claims, issues, update, process +}; + /** * Command registry map for quick lookup * Supports both sync (core commands) and async (lazy-loaded) commands