Documentation ¶
Index ¶
Constants ¶
View Source
const DOCKER_EXEC = ("docker run --rm -u {{.UID}}:{{.GID}} -v {{.AdrDir}}:/doc " +
"-v {{.AdrConfigDir}}:/adr-config -e ADR_TEMPLATE=/adr-config/{{.AdrTemplate}} " +
"brianskarda/adr-tools-docker adr {{.Cmd}}")
Variables ¶
This section is empty.
Functions ¶
func RunADRCommand ¶
RunADRCommand triggers given ADR command This function allows for these parameters to be configured:
- adrDir - directory which docker mounts as /docs
- adrConfigDir - directory with configuration which docker mounts as /adr-config
- adrTemplate - template name which will be used to produce ADRs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.