Please merge this request pull. It adds a "--multiple" option to command line render of pystache that renders the provided template for each of the context children.
Output is saved in a file named per either a key in context, or a user-given string.
Please merge this request pull. It adds a "--multiple" option to command line render of pystache that renders the provided template for each of the context children.
Output is saved in a file named per either a key in context, or a user-given string.
Usage (in pystache/pystache/tests/examples):
to generate 3 files out-000.html, out-001.html, out-002.html; if there is no 'out.html' key in multiple.json
to generate 3 files, named from the value of 'NO' key in multiple.json