adrs-0.5.1 is not a library.
adrs
A command-line tool for creating and managing Architecture Decision Records (ADRs).
Features
- adr-tools compatible - works with existing ADR repositories
- Multiple formats - supports Nygard (classic) and MADR 4.0.0 formats
- Template variants - full, minimal, and bare templates
- Repository health checks -
doctorcommand finds issues - Config discovery - automatically finds ADR directory from subdirectories
- Cross-platform - macOS, Linux, and Windows binaries
Installation
Homebrew (macOS/Linux)
Cargo
Docker
Binary releases
Download from GitHub Releases.
Quick Start
# Initialize a new ADR repository
# Create your first decision
# List all ADRs
# Check repository health
Usage
adrs [OPTIONS] <COMMAND>
Commands:
init Initialize a new ADR repository
new Create a new ADR
edit Edit an existing ADR
list List all ADRs
link Link two ADRs together
config Show configuration
doctor Check repository health
generate Generate documentation (toc, graph, book)
Options:
--ng Enable NextGen mode with YAML frontmatter
-C, --cwd <DIR> Run from a different directory
-h, --help Print help
-V, --version Print version
Examples
Create ADRs with different formats
# Classic Nygard format (default)
# MADR 4.0.0 format
# Minimal template
Supersede and link decisions
# Supersede an existing ADR
# Link related ADRs
Generate documentation
# Table of contents
# Graphviz dependency graph
|
# mdbook
&& &&
Library
adrs is built on the adrs-core library, which can be used independently:
[]
= "0.5"
use Repository;
let repo = open?;
for adr in repo.list?
See library documentation for more details.
Documentation
Full documentation: joshrotenberg.github.io/adrs-book
Contributing
Contributions welcome! See issues or open a new one.
License
MIT or Apache-2.0