Simple tool to run go templates against JSON files
go install github.com/alejo47/go-template-runner/cmd/tmpl@latest
This will prompt the user to write the template, use Ctrl+D
to send an EOF prompting the program to continue.
templ -json data.json
cat template.file | templ -json data.json