Compile Mustache templates on the command line in PHP, Python or JavaScript. Optionally provide a JSON file containing input data.
compile_mustache TEMPLATE.mustache [DATA.json] > OUTPUT.html
-
PHP:
composer install
-
Python: `pip install -r pip.txt
-
JavaScript/Node:
npm install
-
All together:
make