A CLI interface to Jinja2

Edit Package python-jinja2-cli

jinja2 client interface for Jinja2 a template engine written
in pure Python.
If PyYAML is present, you can use YAML as an input data source.
If toml is present, you can use TOML as an input data source.
Here some way to use it :
jinja2 helloworld.tmpl data.json --format=json
cat data.json | jinja2 helloworld.tmpl
curl -s http://httpbin.org/ip | jinja2 helloip.tmpl
curl -s http://httpbin.org/ip | jinja2 helloip.tmpl > helloip.html

Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename Size Changed
jinja2-cli-0.7.0.tar.gz 0000006894 6.73 KB
python-jinja2-cli.changes 0000000895 895 Bytes
python-jinja2-cli.spec 0000003171 3.1 KB
Comments 0
No comments available
openSUSE Build Service is sponsored by