Skip to content
/ tmpl Public

A tool for generating parameterized files from templates

License

Notifications You must be signed in to change notification settings

tinrab/tmpl

Repository files navigation

tmpl

A tool for generating parameterized files from templates.

Install

Binary downloads can be found on releases page.

Or install it manually:

go get github.com/tinrab/tmpl/cmd/tmpl

Usage

Example:

$ tmpl -p "./test/simple/*.params.*" -s ./test/simple/deployment.tmpl.yaml -t

Help:

A tool for generating parameterized files from templates

Usage:
  tmpl [flags]
  tmpl [command]

Available Commands:
  help        Help about any command
  version     Print version

Flags:
      --consul-address string   consul address
      --consul-token string     consul token
  -d, --delimiter string        template delimiter (default "\n")
  -h, --help                    help for tmpl
  -o, --output string           output file path (default "tmpl.out")
  -p, --parameters string       path to parameters
  -s, --source string           path to sources
  -t, --test                    print result to stdout

Use "tmpl [command] --help" for more information about a command.

About

A tool for generating parameterized files from templates

Resources

License

Stars

Watchers

Forks

Packages

No packages published