AlTosterino / ADR-py

ADR Tools but using Python
28 stars 1 forks source link
architecture architecture-decision architecture-decision-records architecture-decisions cli command-line command-line-tool documentation library package python python-3 python3

ADR-py

Shout to excellent adr-tools project on which ADR-py is based on

This Python script is designed to help software development teams document their architecture decisions using Architecture Decision Records (ADRs). ADRs are a lightweight and effective way to capture important decisions made during the design and development of a software system, and to keep track of their rationale and implications over time.

The script creates ADR files in a predefined format, following the principles of Michael Nygard's ADR template. Each ADR file is a Markdown document with a unique name that includes a sequential number and a title, which is automatically generated based on the information provided by the user.

Prerequisites

Installation

How to Use

Usage:

$ adr [OPTIONS] COMMAND [ARGS]...

Options:

Commands:

init

Initialize ADR directory with first ADR in given PATH

Usage:

$ adr init [OPTIONS] [PATH]

Arguments:

Options:

new

Create new ADR with given NAME

Usage:

$ adr new [OPTIONS] NAME

Arguments:

Options:

ADR Template

The generated ADR files follow the template proposed by Michael Nygard in his book "Documenting Architecture Decisions." The template consists of the following sections:

Benefits of ADRs

Using ADRs has several benefits for software development teams, including: