shopsmart/Render J2 Template

Renders a J2 Template

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
templateThe path to the template file to renderyes
dataThe path to the file with data to pass to the renderno""
formatThe format the data file will be inno""
env_varsThe environment variables to pass to the render. Each environment variable should be in format VAR=VAL with one on each line. Example: env_vars: | FOO=bar BAR=baz no""
filtersLoad custom Jinja2 filters from a Python file: all top-level functions are imported.no""
testsLoad custom Jinja2 tests from a Python file.no""
customizeA Python file that implements hooks to fine-tune the j2cli behaviorno""
undefinedIf true, undefined variables will be used in templates (no error will be raised)nofalse
outputThe name of the output file to write rendered contents tonooutput
debugIf true, sets -x in the shell commandnofalse
namedescription
fileThe file the rendered content was written to
contentThe rendered content