confish
v2.0.0
Published
Render json data from stdin into templates
Downloads
3
Readme
confish
A tiny module to render json data into dot templates. It is built to work well with my shtore tool.
CLI
JSON data should be passed via stdin. a template file can be specified as the only argument and the rendered template will be printed to stdout.
So to render some data into a template and write it back to disc you could do:
echo '"abc"' | confish template.conf > rendered.conf