ai-project-bootstrap
Docs / CLI reference / Global flags & exit codes

Global flags & exit codes

Flags that behave the same everywhere, and what the process returns when it finishes.

Shared flags

Flag
Available on
Meaning
--dry-run
generate · add · implement · upgrade
Compute everything, write nothing
--dir <path>
add · implement · review · analyze · upgrade
Operate on a project other than the working directory
--report
review · analyze
Also write a markdown report file
-h, --help
every command
The same reference, in your terminal

Exit codes

Code
Meaning
0
Success — or findings below the --fail-on threshold
non-zero
A validation error, a refused replace, or a finding at or above --fail-on's severity
Semver applies from 1.0.0

A breaking change to the flags, the exit codes, or the generated-project contract needs a major version bump — not a feat: commit.

On this page
Shared flagsExit codes
Source: src/cli/ — generated from --help