| Crates.io | radr-cli |
| lib.rs | radr-cli |
| version | 0.3.0 |
| created_at | 2025-10-11 12:36:12.528423+00 |
| updated_at | 2025-10-31 14:25:59.165284+00 |
| description | CLI application to manage Architecture Decision Records (ADRs) |
| homepage | |
| repository | https://github.com/aacevedot/radr-cli |
| max_upload_size | |
| id | 1878141 |
| size | 126,005 |
Command Line Interface (CLI) application to manage Architecture Decision Records (ADRs)
index.md file.cargo + rustc).cargo install radr-cliradr --helpcargo build --releasecargo install --path .target/release/radr --helpradr-cli-vX.Y.Z-x86_64-unknown-linux-gnu.tar.gz (also aarch64, armv7, i686). Static builds are available as *-unknown-linux-musl for maximum portability.radr-cli-vX.Y.Z-{x86_64|aarch64}-apple-darwin.tar.gzradr-cli-vX.Y.Z-{x86_64|i686|aarch64}-pc-windows-msvc.ziptar -xzf radr-cli-vX.Y.Z-x86_64-unknown-linux-gnu.tar.gz./radr --helpExpand-Archive radr-cli-vX.Y.Z-x86_64-pc-windows-msvc.zip -DestinationPath ../radr.exe --helpradr new "Adopt PostgreSQL" (default status: Proposed)radr supersede 3 "Move to Managed PostgreSQL"radr supersede 3 "Redo Supersede" --force (allows superseding an ADR even if it is already superseded)radr reject 3 or radr reject "Adopt PostgreSQL"radr list or radr indexradr reformat 3radr reformat --allradr --config radr.toml list or RADR_CONFIG=radr.yaml radr list<adr_dir>/index.md.--config path → RADR_CONFIG env → local files radr.toml|yaml|yml|json or .radrrc.*.adr_dir (string): Directory where ADRs live. Default: docs/adr.index_name (string): Name of the index file. Default: index.md.template (string): Optional path to a custom template.format (string): md or mdx for new ADRs. Default: md.front_matter (bool): If true, uses a YAML front matter block with only the title; Date, Status, and superseding info are written in the body. Default: false.radr.toml)adr_dir = "docs/adr"
index_name = "index.md"
template = "adr_template.md"
format = "mdx" # or "md"
front_matter = true # include YAML front matter
radr.yaml)adr_dir: docs/adr
index_name: index.md
template: adr_template.md
format: mdx
front_matter: true
radr.json){
"adr_dir": "docs/adr",
"index_name": "index.md",
"template": "adr_template.md",
"format": "mdx",
"front_matter": true
}
template is set, these placeholders are interpolated:
{{NUMBER}}, {{TITLE}}, {{DATE}}, {{STATUS}}, {{SUPERSEDES}} (empty if none)# ADR 0001: Example Title
Date: 2025-01-01
Status: Accepted
Supersedes: 0003
## Context
## Decision
## Consequences
Status: Superseded by 000XSuperseded-by: 000X---
title: Example Title
---
Date: 2025-01-01
Status: Accepted
Supersedes: [0003](0003-previous-decision.mdx)
## Context
## Decision
## Consequences
radr reformat 3 converts ADR 0003 to match the current format (md or mdx) and front_matter settings.radr reformat --all converts all ADRs.Supersedes: [NNNN](...) links in other ADRs are updated to point to the new filenames.NNNN-title-slug.md with zero-padded numbering.radr list regenerates the index and prints a terse table to stdout.