gtp
macro processor powered by Go (text|html)/template
Install
go install github.com/taskie/gtp/cmd/gtp
Usage
gtp -d john.json hello.tmpl >john.txt
or
gtp -D json hello.tmpl <john.json >john.txt
Template (hello.tmpl)
Hello, {{.user.name}}!
{"user": {"name": "John"}}
Output (john.txt)
Hello, John!
Dependency

License
Apache License 2.0