Skip to content

crdoconnor/dirtempl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Command line directory templater.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors