Render a Jinja2 template from the commandline, writing it to stdout.
Run pip install jinjafy
to install the jinjafy
command line tool.
$ jinjafy --help usage: jinjafy [-h] [-v] filepath [key=value [key=value ...]] ... $ cat ru.j2 Ben De La {{creme}}, {{allstar}} $ jinjafy ru.j2 creme=Christ allstar="All Star" Ben De La Christ, All Star
This project uses Pipenv to isolate development environments. To test:
$ pipenv shell pytest