-
Notifications
You must be signed in to change notification settings - Fork 0
List command
Muhammet Şafak edited this page May 27, 2026
·
1 revision
Print the command reference — every subcommand, every flag — plus a "Current configuration" summary block based on the resolved context.
commitbrief list
Takes no arguments. Tolerates being run outside a git repo (the summary block degrades gracefully).
Two sections, both rendered as markdown:
A static markdown document built into the binary. Covers:
- Review (default) scopes and inherited flags
- The
diffsubcommand -
init,setup,providers (list|use|test) config (show|get|set)-
doctor,install-hook,compress cache (clear|prune)-
dry-run,list - Global flags and environment variables
- Filtering layers
A live snapshot of what the binary would do right now:
- Active provider + model
- Where
COMMITBRIEF.mdis sourced from (repo file or embedded default) - Where
OUTPUT.mdis sourced from - Cache footprint (entry count + total size)
- Active language + source
API keys are never printed here. Use commitbrief providers list (which masks them) for that.
- Default TTY: rendered via the terminal glamour theme (colored markdown).
-
--markdown/--json/ non-TTY /--color=never: plain markdown (no ANSI).
The --output <file> global flag also applies; commitbrief list --markdown --output COMMANDS.md saves the reference to a file.
- Quick reminder of a flag you cannot recall.
- "What provider am I using right now?" — the summary answers.
- Generating a static command-reference document for project docs.
- Verifying a custom config layer (e.g.
commitbrief listafter--lang=trto confirm the locale resolution).