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

This commit is contained in:
rUv committed 2025-08-12 14:39:49 +00:00
1 parent 7e3450576a
commit c1030d545e
3 files changed
+6

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250812-143935", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-12T14:39:35Z", "type": "pre-edit", "original_branch": "alpha-89"}
+1
View File
@@ -0,0 +1 @@
{"tag": "checkpoint-20250812-143936", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-12T14:39:36Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 36 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 8 +++---- .claude/checkpoints/1755009483.json | 1 + .claude/checkpoints/1755009485.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/index.js | 4 ++++ 7 files changed, 47 insertions(+), 5 deletions(-) "}
+4
View File
@@ -182,6 +182,10 @@ export async function initCommand(subArgs, flags) {
const initDryRun = subArgs.includes('--dry-run') || subArgs.includes('-d') || flags.dryRun;
const initOptimized = initSparc && initForce; // Use optimized templates when both flags are present
const selectedModes = flags.modes ? flags.modes.split(',') : null; // Support selective mode initialization
// Check for verification and pair programming flags
const initVerify = subArgs.includes('--verify') || flags.verify;
const initPair = subArgs.includes('--pair') || flags.pair;
// Get the actual working directory (where the command was run from)
// Use PWD environment variable which preserves the original directory