Drift detected
Source: src/cli.ts (line 344-346)
Docs: docs/02-reference/01-cli.md (run command section)
What's wrong in docs
The CLI reference shows only the scan command having the -o, --output <file> flag, but the source code shows that the run command also supports this flag.
Current docs show: run command missing --output flag
Source code shows: run command has .option("-o, --output <file>", "Save plan JSON to file")
Impact
Users trying to save plan output from the run command will not know this option exists, leading to confusion and suboptimal workflow.
Suggested fix
Add the --output flag to the run command's flag table in docs/02-reference/01-cli.md:
| `-o, --output <file>` | | Save plan JSON to file |
This should be added to the existing flag table for the run command.
Related
Confirms existing issue #12.
Drift detected
Source:
src/cli.ts(line 344-346)Docs:
docs/02-reference/01-cli.md(run command section)What's wrong in docs
The CLI reference shows only the
scancommand having the-o, --output <file>flag, but the source code shows that theruncommand also supports this flag.Current docs show:
runcommand missing--outputflagSource code shows:
runcommand has.option("-o, --output <file>", "Save plan JSON to file")Impact
Users trying to save plan output from the
runcommand will not know this option exists, leading to confusion and suboptimal workflow.Suggested fix
Add the
--outputflag to theruncommand's flag table indocs/02-reference/01-cli.md:This should be added to the existing flag table for the
runcommand.Related
Confirms existing issue #12.