Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvb9e7d7bd135f
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<void> {
+ // 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}`);