adr

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 7 Imported by: 0

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

func RunADRCommand(cmd, title, adrDir, adrConfigDir, adrTemplate string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL