Skip to content

A Command Line Interface for the Inja string template library

License

Notifications You must be signed in to change notification settings

laurence-myers/inja-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inja CLI

A command-line interface to Inja, a C++ string template library loosely inspired by Jinja.

Usage

inja input_file_template.html output_file.html

With a JSON data file:

inja -d data.json input_file_template.html output_file.html
# or
inja --data data.json input_file_template.html output_file.html

Template Syntax

For a quick overview, refer to this syntax cheat sheet.

For more detailed information, refer to the Inja documentation.

License

MIT