kolypto / j2cli

Jinja2 Command-Line Tool, reworked

Home Page:http://pypi.python.org/pypi/j2cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Difference between `j2cli` and `jinja2-cli`

vendion opened this issue · comments

The projects README states that this project was inspired by https://github.com/mattrobenolt/jinja2-cli but there is no comparison between the projects to help users decide between this project and jinja2-cil.

On a high level the usage syntax looks the same, with a minor difference that this project allows for a short argument (-f) as well as a long argument (--format) to define the format.

j2cli

$ j2 -f json nginx.j2 nginx.json > nginx.conf

jinja2-cli

$ jinja2-cli --format=json nginx.j2 nginx.json > nginx.conf