---
source: tests/test_help.rs
assertion_line: 40
expression: "normalize_output(&output, temp_dir.path(), &date)"
---
$ govctl adr --help
ADR operations
Usage: govctl adr [OPTIONS] <COMMAND>
Commands:
list List ADRs [aliases: ls]
get Get ADR metadata or specific field
show Show rendered ADR content
new Create a new ADR
edit Canonical path-first edit entrypoint
set Set ADR field value
add Add value to ADR array field
remove Remove value from ADR array field
accept Accept ADR (proposed → accepted)
reject Reject ADR (proposed → rejected)
deprecate Deprecate ADR
supersede Supersede ADR
tick Update ADR alternative status
render Render a single ADR to markdown
help Print this message or the help of the given subcommand(s)
Options:
-C, --config <CONFIG> Path to govctl config (TOML)
--dry-run Dry run: preview changes without writing files
-h, --help Print help
COMMON WORKFLOW:
1. `govctl adr list` to discover ADRs
2. `govctl adr get <ID> ...` for metadata/fields
3. `govctl adr show <ID>` for rendered prose
4. `govctl adr edit/add/tick` to work through alternatives
5. `govctl adr accept/reject/...` for lifecycle
START HERE:
- New ADR: `govctl adr new "Title"`
- Inspect one ADR: `govctl adr get ADR-0001`
- Move an alternative to accepted: `govctl adr tick ADR-0001 alternatives --at 0 -s accepted`
exit: 0