Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 2.22 KB

README.md

File metadata and controls

47 lines (34 loc) · 2.22 KB

adr-cli

A command-line tool for working with Architecture Decision Records (ADRs). This is a fork of the original adr-cli just delivered as dotnet tool.

Badges

What Status
Language C#
Framework .NET 8
Continuous Integration Prod Build status
Continuous Integration Stage Build status
Bugreports GitHub issues
Bugreports Board Status
Blog Blog

File a bug report on Github.

File a bug report on Azure DevOps.

Installation

Alternate to the NuGet.org packaage, you can use the Azure Feed: https://pkgs.dev.azure.com/saigkill/AdrTool/_packaging/SaigkillsAdrFeed/nuget/v3/index.json

To install the tool, run the following command in the powershell or cmd:

dotnet tool install --global Saigkill.adr-tool.CLI

Usage

To initialize the ADR directory, run the following command in the powershell or cmd:

adr init

To create a new ADR, run the following command in the powershell or cmd:

adr new "Title of the ADR"

To list all ADRs, run the following command in the powershell or cmd:

adr list

This will create a new ADR file in the docs/adr directory with the title as the filename. It will openened in the default editor.