Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 822 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 822 Bytes

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