npryce / adr-tools

Command-line tools for working with Architecture Decision Records
Other
4.56k stars 578 forks source link

Overload template and direcotry file names with --arguments #89

Open cprn opened 4 years ago

cprn commented 4 years ago

This is a feature request.

Overload template file name and directory file name with arguments.

Use case would be to use adr command to manage other type of markdown files, e.g.:

alias prd='adr --template-file prd_template.md --dir-file .prd-dir'

This way we could create PRD files with the very same tool while steel being able to create ADR files:

adr new Use adr-toolset to manage PRDs as well
prd init doc/architecture/drivers/
prd new Needs to be testable
prd new Needs to be expandable
prd link 1 "Mentioned in" 2 "Can't break"
adr list # lists existing ADR documents
prd list # lists existing PRD documents
bgeese-szdm commented 4 years ago

Another usage could be different templates or languages.