wrouesnel / p2cli

pongo2 cli - like the j2cli package in python, but compiles to self-contained go executables
GNU General Public License v2.0
87 stars 20 forks source link

[Feature request] Multiple sources of variables #28

Closed Peter2121 closed 2 years ago

Peter2121 commented 2 years ago

It would be nice to be able to use multiple sources of variables. In my case I would like to use the 'main' YML file and pass some secure information (passwords) as environment variables.

wrouesnel commented 2 years ago

r12 should implement this as the --include-env parameter, which will force environment variables into any dataset as overrides.