mstch

Render mustache templates with modern C++ library

brewmacoslinux
Try with needOr install directly
Source

About

Complete implementation of {{mustache}} templates using modern C++

Examples

render template with JSON data$ mstch_render template.mustache data.json
convert template to HTML output$ mstch_render --output result.html template.mustache data.json
fill in template variables from command line$ echo '{{name}}' | mstch_render --data '{"name":"world"}'
process multiple templates with same data$ mstch_render *.mustache shared_data.json