Skip to content

Simple standalone template rendering tool in python3

License

Notifications You must be signed in to change notification settings

canonical-ols/reify

Repository files navigation

usage: reify [-h] [--context CONTEXT] [--envfile ENVFILE] [--output OUTPUT]
             [--mode MODE] [--charm-config CHARM_CONFIG]
             template [extra [extra ...]]

render a jinja2 template

positional arguments:
  template              the template file
  extra                 extra key value pairs (foo=bar)

optional arguments:
  -h, --help            show this help message and exit
  --context CONTEXT, -c CONTEXT
                        file to load context data from. Can also be read from
                        stdin.
  --envfile ENVFILE, -e ENVFILE
                        file with environment varibles
  --output OUTPUT, -o OUTPUT
                        output file; defaults to stdout
  --mode MODE, -m MODE  mode of output file, if not stdout; defaults to 0666 -
                        umask
  --charm-config CHARM_CONFIG
                        charm config file, default values will be added to
                        template context

About

Simple standalone template rendering tool in python3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published