Documentation CLI reference · Menu
06 / CLI

Guardian CLI reference

This compact reference is based on help output from the CLI bundled with Guardian 1.0: Mobile Release Guardian 0.1.0rc1.

Core commands

CommandPurpose
guardian initInitialize Guardian in a project.
guardian detectDetect project platform and structure.
guardian scanRun local project analysis.
guardian doctorInspect the local Guardian environment.
guardian release checkRun the release check workflow.
guardian versionPrint version information.

Scan options

Terminal
guardian scan [OPTIONS] [project_path]

--format text|json|sarif|gitlab|html
--output <file>
--baseline <file>
--fail-on-new
--record-metrics
--metrics-dir <directory>

More command groups

The bundled CLI also lists binary analysis, database import, SBOM, dynamic analysis, metrics, performance, plugins, workspace, dashboard, policy and configuration commands. Use each group’s --help before automation.

guardian review is not a command in this release.