Tiny CLI template engine for generating files quickly
Gotmpl brings Go's Templates to your terminal along with some helpful functions courtesy of Sprig. Usage is extremely simple, after installing the binary, you can use it like so:
gotmpl render --tmpl ./template.tmpl --data ./data.json > ./output.txt
- Sprig functions
- Support for JSON, YAML, and TOML data files
brew install hay-kot/gotmpl-tap/gotmpl
go install https://github.com/hay-kot/gotmpl