.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. .TH J2CLI "1" "September 2022" "j2cli 0.3.12b0, Jinja2 2.11.3" "User Commands" .SH NAME j2cli \- Command line tool for templating in shell-scripts .SH DESCRIPTION usage: j2 [\-h] [\-v] [\-f {?,ini,json,yaml,env}] [\-e VAR] .IP [\-\-filters python\-file [python\-file ...]] [\-\-tests python\-file [python\-file ...]] [\-\-customize python\-file.py] [\-\-undefined] [\-o outfile] template [data] .PP Command\-line interface to Jinja2 for templating in shell scripts. .SS "positional arguments:" .TP template Template file to process .TP data Input data file path; "\-" to use stdin .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-v\fR, \fB\-\-version\fR show program's version number and exit .TP \fB\-f\fR {?,ini,json,yaml,env}, \fB\-\-format\fR {?,ini,json,yaml,env} Input data format .TP \fB\-e\fR VAR, \fB\-\-import\-env\fR VAR Import environment variables as `var` variable. Use empty string to import into the top level .TP \fB\-\-filters\fR python\-file [python\-file ...] Load custom Jinja2 filters from a Python file: all top\-level functions are imported. .TP \fB\-\-tests\fR python\-file [python\-file ...] Load custom Jinja2 tests from a Python file. .TP \fB\-\-customize\fR python\-file.py A Python file that implements hooks to fine\-tune the j2cli behavior .TP \fB\-\-undefined\fR Allow undefined variables to be used in templates (no error will be raised) .TP \fB\-o\fR outfile Output to a file instead of stdout .SH "SEE ALSO" The full documentation for .B j2cli is maintained as a Texinfo manual. If the .B info and .B j2cli programs are properly installed at your site, the command .IP .B info j2cli .PP should give you access to the complete manual.