branchbrief CLI reference
Command
branchbrief [options]Generates a branch brief from local git state.
Options
| Option | Purpose |
|---|---|
--base <branch> | Sets the base branch for comparison. |
--output <path> | Writes the brief to a file instead of stdout. |
--json | Renders JSON instead of Markdown. |
--copilot | Adds Copilot-compatible review context. |
--fail-on <level> | Exits non-zero when risk is at or above low, medium, or high. |
--repo-root <path> | Runs against a specific repository root. |
--quiet | Reduces non-essential output. |
--no-color | Disables terminal color output. |
Examples
branchbrief --base mainbranchbrief --base main --output BRANCH_BRIEF.mdbranchbrief --base main --json --output branch-brief.jsonbranchbrief --base main --copilot --fail-on highbranchbrief --repo-root . --base origin/main --no-color