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 edit:

rUv96f456cd31f9
diff --git a/v3/@claude-flow/cli/__tests__/cli.test.ts b/v3/@claude-flow/cli/__tests__/cli.test.ts
index 848a09bce3..175dde2d47 100644
--- a/v3/@claude-flow/cli/__tests__/cli.test.ts
+++ b/v3/@claude-flow/cli/__tests__/cli.test.ts
@@ -202,15 +202,19 @@ describe('CLI', () => {
const mockCommand: Command = {
name: 'testshort',
description: 'Test command',
+ options: [
+ { name: 'debug', short: 'd', type: 'boolean', description: 'Debug mode' }
+ ],
action: async (ctx) => {
- expect(ctx.flags.v).toBe(true);
+ // -d is mapped to 'debug' via the command options
+ expect(ctx.flags.debug).toBe(true);
flagsPassed = true;
return { success: true };
}
};
cli['parser'].registerCommand(mockCommand);
- await cli.run(['testshort', '-v']);
+ await cli.run(['testshort', '-d']);
expect(flagsPassed).toBe(true);
});