mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/verification.js
This commit is contained in:
1 parent
22dc559572
commit
e222c42b77
2 files changed
+8
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250812-154541", "task": "--json should only ouput in json. @ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-flo", "timestamp": "2025-08-12T15:45:42Z", "commit": "523783beefae5ead5260af71039afafdcdf9096f", "github_release": "true"}
|
||||
@@ -282,7 +282,13 @@ export async function verificationCommand(args, flags) {
|
||||
await generateFilteredReport(system, filteredHistory, flags.agent) :
|
||||
await system.generateTruthReport();
|
||||
|
||||
// Basic report (always shown)
|
||||
// JSON output only mode
|
||||
if (flags.json) {
|
||||
console.log(JSON.stringify(report, null, 2));
|
||||
return;
|
||||
}
|
||||
|
||||
// Basic report (shown when not in JSON mode)
|
||||
console.log('\n📊 Truth Scoring Report' + (flags.agent ? ` - Agent: ${flags.agent}` : ''));
|
||||
console.log('━'.repeat(50));
|
||||
console.log(`Mode: ${report.mode || system.mode}`);
|
||||
|
||||
Reference in new issue
Block a user