j2cli
j2cli copied to clipboard
Jinja2 Command-Line Tool, reworked
I don't see this project on Docker Hub > https://hub.docker.com/search?q=j2cli. Would you be open to automating a build to push to Docker Hub? The most recent Docker Hub J2CLI image...
Is it possible to use more than one Yaml file for variables?
This project uses the [`imp` module](https://docs.python.org/3/library/imp.html) which has been deprecated since Python 3.4 and removed in 3.12: * Raised `PendingDeprecationWarning` since [3.4 (2014)](https://github.com/python/cpython/commit/e4f41deccf94ccc798b1eb1f44657ade66669a60) * Raised `DeprecationWarning` since [3.5 (2015)](https://github.com/python/cpython/commit/c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a) *...
It'd be nice to support multiple input data files instead of just one. This could be achieved by adopting the following format: - **[filename]** - load the file at the...
Dear, I have a really noob issue, please be forgiving. Is that tool capable of reading a variable list? I guess it is but I can't figure out the syntax...
How would you pass a list/array argument to j2cli via the `-e` option?
It would be nice to support multi stage rendering as described at https://stackoverflow.com/a/53134416/948378. ```python from jinja2 import Environment, BaseLoader,DebugUndefined rtemplate =Environment(loader=BaseLoader,undefined=DebugUndefined) \ .from_string("{{ a }} is defined, but {{ b}}...
I discovered that if you want a true/false with a environment variable, the only combination that matters is whether the value is set or not: foo.env: ``` test_1=false test_2=False test_3=1...
A `.env` file with spaces can't be `source`d unless the values are quoted, but then the quotes are preserved in the rendered output, but not preserved in the shell: ```...