Template a whole directory
Project description
DirTempl
DirTempl templates a whole directory, letting you swap out individual snippets for the contents of files in the snippets directory.
Install
DirTempl is typically best installed by installing pipx and then installing dirtempl using pipx.
pipx install dirtempl
Example Usage
dirtempl input/ snippets/ output/
Anything in input folder containing {{{{ my_snippet }}}} will replace the contents with the corresponding file in snippets/ - e.g. my_snippet.
Why not use jinja2?
Too complicated.
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
dirtempl-0.1.2.tar.gz
(10.0 kB
view hashes)