-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0xSage
committed
Oct 18, 2023
1 parent
9bf3be1
commit 24d431d
Showing
3 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
newadr: | ||
@echo "Initiating an ADR..." | ||
@last_number=$$(ls $(CURDIR)/adr-[0-9][0-9][0-9]-* | sort -V | tail -n 1 | cut -d '-' -f 2); \ | ||
next_number=$$(printf "%03d" $$(( $$last_number + 1 ))); \ | ||
read -p "Enter ADR title: " title; \ | ||
cp $(CURDIR)/adr-template.md $(CURDIR)/adr-$$next_number-$$title.md | ||
# newadr: | ||
# @echo "Initiating an ADR..." | ||
# @read -p "Enter ADR number (e.g. 001): " number; \ | ||
# read -p "Enter ADR title: " title; \ | ||
# cp $(CURDIR)/adr-template.md $(CURDIR)/adr-$${number}-$${title}.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# ADR {ADR-NUM}: {TITLE} | ||
|
||
## Changelog | ||
- {date}: {changelog} | ||
|
||
## Authors | ||
- @usernames | ||
|
||
## Status | ||
|
||
What is the status, such as proposed, accepted, rejected, deprecated, superseded, etc.? | ||
|
||
{Proposed|Accepted|Rejected} | ||
|
||
## Context | ||
|
||
What is the issue that we're seeing that is motivating this decision or change? | ||
|
||
## Decision | ||
|
||
What is the change that we're proposing and/or doing? | ||
|
||
## Consequences | ||
|
||
What becomes easier or more difficult to do because of this change? | ||
|
||
## Alternatives | ||
|
||
## Reference |