Creates files and directories from templates
Stencil creates files and directories from templates. It is inspired by Paste Templates, but Stencil has no dependencies.
Install Stencil with pip:
$ pip install Stencil
It will also install argparse for python < 2.7. There is no python 3 support yet.
To create new file or directory of files and subdirectories from <stencil> use:
$ stencil [global args] <stencil> [stencil args]
For example, using stencil new you can create a new project containing a new stencil:
$ stencil new mystencil
For creating stencils use new stencil as example. All stencils are collected together using entry points from Distribute.
- Better handling of target directory creation
- Fix stencils order in command output
- Overridable resources
- Use Jinja2 for templates
- Fix resource target path rendering
- Add possibility to collect resources from multiple dirs
- Initial release