Socket
Socket
Sign inDemoInstall

adr-tool

Package Overview
Dependencies
165
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    adr-tool

easy CLI for ADR docs


Version published
Maintainers
1
Install size
14.6 MB
Created

Readme

Source

adr-tool

easy CLI for ADR docs

oclif Version Downloads/week License

Demo

adr-tool demo

🎞️ Watch the full screencast

Usage

You can install it globally (npm install -g adr-tool) or use it with npx

$ npx adr-tool init
./docs/adr folder is created!
$ npx adr-tool create Use Markdown Architectural Decision Records
a decision created on ./docs/adr/0000-use-markdown-architectural-decision-records.md

Commands

adr-tool create [TITLE]

create a new decision and log it into docs/adr/README.md file

USAGE
  $ adr-tool create [TITLE]

ARGUMENTS
  TITLE  title of the decision

OPTIONS
  -h, --help                               show CLI help
  -t, --ticket=ticket                      technical ticket
  --status=accepted|deprecated|superseded

EXAMPLE
  $ adr-tool create Use ADR Tool
  a decision created on ./docs/adr/0000-use-adr-tool.md

See code: src/commands/create.ts

adr-tool help [COMMAND]

Display help for adr-tool.

USAGE
  $ adr-tool help [COMMAND]

ARGUMENTS
  COMMAND  Command to show help for.

OPTIONS
  -n, --nested-commands  Include all nested commands in the output.

See code: @oclif/plugin-help

adr-tool init

create docs/adr folder and copies template.md and README.md

USAGE
  $ adr-tool init

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ adr-tool init
  ./docs/adr folder is created!

See code: src/commands/init.ts

adr-tool toc

create docs/adr/README.md file

USAGE
  $ adr-tool toc

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ adr-tool toc
  ./docs/adr/README.md file is created!

See code: src/commands/toc.ts

Keywords

FAQs

Last updated on 31 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc