Skip to main content

Jinja Recursive Templating from the CLI

Project description

Jinja Recurse CLI tool

Jinja Recursive Templating for the CLI. Recursively template one file or many folders of many files like a config management languages allow, without the whole config management language. Useful if you're switching from managing an application from config management to just docker and need some simple templating logic.

Example usage

# Directory
$ jinjarecurse -v example/vars.yaml -i example/i_dir -o example/o_dir
WARNING: example/o_file (output) exists and any conflicting files will be overwritten
Writing from example/i_file to example/o_file

# Single File
$ jinjarecurse -v example/vars.yaml -i example/i_file -o example/o_file
Writing from example/i_dir/i_file_2 to example/o_dir/i_file_2
Writing from example/i_dir/i_file to example/o_dir/i_file
Writing from example/i_dir/i_file_1 to example/o_dir/i_file_1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Jinja Recurse-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

Jinja_Recurse-0.0.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page