Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Difference between j2cli and jinja2-cli #56

Open
vendion opened this issue Apr 16, 2020 · 0 comments
Open

Difference between j2cli and jinja2-cli #56

vendion opened this issue Apr 16, 2020 · 0 comments

Comments

@vendion
Copy link

vendion commented Apr 16, 2020

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant