Adding a CLI for Jinja2 #129

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants

Allows compiling templates via the command line by taking data input
from either json, yaml, ini, or a querystring source.

Data can be read in from a file or piped in through stdin.

See __doc__ for examples on usage.

I am 100% open to critiques or adjustments that need to be made to
comply with library conformity. :)

@mattrobenolt mattrobenolt Adding a CLI for Jinja2
Allows compiling templates via the command line by taking data input
from either json, yaml, ini, or a querystring source.

Data can be read in from a file or piped in through stdin.

See __doc__ for examples on usage.

I am 100% open to critiques or adjustments that need to be made to
comply with library conformity. :)
04bdf45

Also to note, I added in quickly Python 3 support, but I haven't tested that yet.

heat commented May 23, 2012

I like it. Thank mattrobenolt, This is very useful for me.

Owner

mitsuhiko commented May 19, 2013

Closing this for the time being. This would require some iteration in a separate package first and then we can bundle it. Not sold on the exact behavior of it.

mitsuhiko closed this May 19, 2013

@mitsuhiko FWIW, a long time ago, I did pull this out into it's own package. :)

https://github.com/mattrobenolt/jinja2-cli

What about the behavior were you not a fan of?

davidism referenced this pull request Aug 14, 2016

Closed

Command line client? #258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment