Command Reference Overview¶
Generated reference model¶
The command reference is generated from the CLI command tree: an index of every command, and a
page per top-level command. Each command's entry carries what bb ... --help prints, and the
document it writes under --json:
- Description and usage
- Examples
- Flags, including those inherited from a command group
- What
--dry-runchecks - Output fields, as
bb ... --describeoutlines them
The flags every command takes are on a page of their own, Global flags.
Source and generation path:
- Command tree source:
internal/cli/ - Export tool:
tools/cli-docs-export/ - Generated pages:
docs/site/reference/commands/
Regenerate command docs¶
task docs:export-command-reference
or regenerate all docs artifacts:
task docs:generate
Drift checks¶
The docs workflow verifies generated content is up to date:
task docs:verify-generated
Use All Commands for full command and argument details.