ADRs for jbang and jbangorg related projects
ADR-J is a command-line tool to manage ADRs in a project. It can be used to create new ADRs, generate a table of contents, and more. ADR-J supports JBang and is available as JBang alias adr@adoble. To use ADR-J, follow these steps.
jbang run adr@adoble versionjbang run adr@adoble generate tocor
./gradlew generateAdrTocFile madr.adoc is the template file that is used to create new ADRs. The template can be refreshed by running command:
wget https://raw.githubusercontent.com/adoble/adr-j/refs/heads/main/doc/example_templates/madr.adocSet the EDITOR environment variable to your preferred editor. For example, to use Visual Studio Code, run the following command:
export EDITOR=codeTo create a new ADR, run the following command:
jbang run adr@adoble new Document TitleFor example, the ADR for Application Versioning was created by running command:
jbang run adr@adoble new Application Versioning