🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js

This commit is contained in:
rUv committed 2025-08-12 14:42:59 +00:00
1 parent 67d643727b
commit b6b58f383f
3 files changed
+9 -3

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250812-144157", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/help.js", "timestamp": "2025-08-12T14:41:57Z", "type": "pre-edit", "original_branch": "alpha-89"}
+1
View File
@@ -0,0 +1 @@
{"tag": "checkpoint-20250812-144159", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/help.js", "timestamp": "2025-08-12T14:41:59Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 96 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 8 +-- .claude/checkpoints/1755009705.json | 1 + .claude/checkpoints/1755009706.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/help.js | 6 ++ 7 files changed, 109 insertions(+), 5 deletions(-) "}
+7 -3
View File
@@ -141,9 +141,13 @@ export async function initCommand(subArgs, flags) {
return;
}
// Default to enhanced Claude Flow v2 init
// Use --basic flag for old behavior
if (!flags.basic && !flags.minimal && !flags.sparc) {
// Check for verification flags first
const hasVerificationFlags = subArgs.includes('--verify') || subArgs.includes('--pair') ||
flags.verify || flags.pair;
// Default to enhanced Claude Flow v2 init unless other modes are specified
// Use --basic flag for old behavior, or verification flags for verification mode
if (!flags.basic && !flags.minimal && !flags.sparc && !hasVerificationFlags) {
return await enhancedClaudeFlowInit(flags, subArgs);
}