templating

Configurable templating of files.


License
GPL-3.0
Install
pip install templating==0.5.0

Documentation

templating

Coverage Status Coverage Status

Usage

Simply install the templating package from pypi and execute the templating tool. Unless the config flag is specified (-c, --config) templating searches for a config file named templating.yaml in the current directory, if it is not found ~/.templating.yaml might be used, if it exists.

pip install templating
templating -c myconf.yaml

Sample config

---
templates:
  'test {{ instance }} - {{ my_var }}.conf': test.jinja2

defaults:
  my_var: foo

instances:
  - foo
  - bar
    my_var: bar