Render Jinja2 templates from the command line with JSON or YAML data
CLI for the Jinja2 templating language
jinja2$ jinja2 template.j2 data.json$ jinja2 template.j2 -d '{"name": "Alice", "age": 30}'$ jinja2 config.j2 values.yaml$ jinja2 list_template.j2 -d '{"items": ["one", "two", "three"]}'$ jinja2 dockerfile.j2 -e | docker build -f - .