github.com/tmc/tmpl
@
v1.12.4
Command tmpl renders a template with the current env vars as input. # tmpl Command tmpl renders a template with the current env vars as input. tmpl packs a punch in under 200 lines of code: a single static binary supplies the capapbilities of many more cmplicating templating engines. It's especially helpful as an early entrypoint into containers to prepare configuration files. ```sh $ tmpl -h Usage of tmpl: ``` It includes all of the template helpers from sprig(https://godoc.org/github.com/Masterminds/sprig). It effectively exposes Go's text/template(http://golang.org/pkg/text/template) for use in shells. Reference text/template(http://golang.org/pkg/text/template) documentation for template language specification. ### Example 1 Given a file 'a' with contents: Invoking Produces ### Example 2 Given a file 'b' with contents: Invoking Produces
2
Links
| Registry | proxy.golang.org |
| Docs | Documentation |
| Download | Download |
| JSON API | View JSON |
| CodeMeta | codemeta.json |