j2cli icon indicating copy to clipboard operation
j2cli copied to clipboard

Difference between `j2cli` and `jinja2-cli`

Open vendion opened this issue 4 years ago • 0 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

vendion avatar Apr 16 '20 12:04 vendion