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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file Jinja Recurse-0.0.1.tar.gz
.
File metadata
- Download URL: Jinja Recurse-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83567530f163a9d12420fa9c4be354fe27ce72bfb6a995f4b42ce7d42b764f5b |
|
MD5 | e55f907df4fd6cf0432749fedb4e6f44 |
|
BLAKE2b-256 | 22c7c0b3b9d057e9009895d4883b45401e8e17377db0c279d44b09830b45b232 |
File details
Details for the file Jinja_Recurse-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: Jinja_Recurse-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b505f9b5d8a4da556a59636757da7d9adfdc414ec20c91fadc391f553e60bcf |
|
MD5 | eac7c8c9f79929c674dcc83572cada7e |
|
BLAKE2b-256 | f257d5e49a94f449a7f37bc384f44782caf05d485fcb59cd6fea0c71433b4a45 |