Custom-made little cli tool to handle markdown Architectural Decision Records (ADRs) inside your project.
Based on MADR format spec
- Open shell in your project
- Create new ADR
adrctl new My awesome shining new feature
This will create the file 0001-my-awesome-shining-new-feature.md
with the short
template inside the folder docs/decisions
.
You can list ADRs with adrctl list
Help message with adrctl
Note: ADRs file numbering is automatically handled by the cli.
- Download
adrctl
- Ensure it has execute permissions
chmod +x adrctl
- Move it to local bin (e.g.
sudo mv adrctl /usr/local/bin
)
- Install WSL
- Follow the Linux installation procedure above
- POSIX sh (dash is ok)
- POSIX common utilities (e.g.
sed
,tr
, etc)
- Grouping MADRs in Sub directories is not yet supported (though can be manually
targeted by setting
ADRCTL_ADR_FOLDER=docs/decisions/sub
before runningadctl
) - Long version template is not provided
- Grouping in sub folders
- Long version template support
- Basic sh completion
Apache-2.0 license