Skip to content

CLI Reference documentation drift: missing --output flag for run command #13

Description

@github-actions

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions