repositorypackage
0.0.0-20241208054806-3ae09d0f0930
Repository: https://github.com/skaji/gotmpl.git
Documentation: pkg.go.dev
# README
gotmpl 
A CLI for golang template.
Usage
❯ cat text.txt
I'm {{ exec "whoami" | trim }}
❯ gotmpl text.txt
I'm skaji
Available funcsions
- https://masterminds.github.io/sprig/
- exec
- fromYaml
- fromYamlMulti
- readFile
- toYaml
Credit
Some code taken from https://github.com/roboll/helmfile
License
MIT
Author
Shoichi Kaji