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

rUve1794dfbd0e1
diff --git a/v3/@claude-flow/cli/src/parser.ts b/v3/@claude-flow/cli/src/parser.ts
index b64e263edb..5e8f2c4778 100644
--- a/v3/@claude-flow/cli/src/parser.ts
+++ b/v3/@claude-flow/cli/src/parser.ts
@@ -332,7 +332,7 @@ export class CommandParser {
}
}
- // Add boolean flags from all commands
+ // Add boolean flags from all commands and subcommands
for (const cmd of this.commands.values()) {
if (cmd.options) {
for (const opt of cmd.options) {
@@ -341,6 +341,18 @@ export class CommandParser {
}
}
}
+ // Also include subcommands' boolean flags
+ if (cmd.subcommands) {
+ for (const sub of cmd.subcommands) {
+ if (sub.options) {
+ for (const opt of sub.options) {
+ if (opt.type === 'boolean') {
+ flags.add(this.normalizeKey(opt.name));
+ }
+ }
+ }
+ }
+ }
}
if (this.options.booleanFlags) {