inja

Template engine for modern C++ with Jinja2-like syntax

brewmacoslinux
Try with needOr install directly
Source

About

Template engine for modern C++

Commands

inja

Examples

Render a template with JSON data from command line$ inja template.txt data.json
Process template with inline JSON data$ inja -d '{"name": "World"}' template.txt
Output rendered template to file$ inja template.txt data.json -o output.txt