j2cli
j2cli copied to clipboard
Jinja2 Command-Line Tool, reworked
My dummy test.j2 file contains: `Hi {{ data_var | env_var | d('default_var') }}` My data_test.yaml contains: `data_var: foo_yaml` I have set env_var via: `export env_var='foo_env'` So, as per templating: Case-1:...
bool is a Python keyword and cannot be added as a --filter without infinite recursion
Archlinux recently upgraded to Python 3.9 and now I'm seeing this: ``` Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 567, in _build_master ws.require(__requires__) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 884, in require...
Hello, I have a problem. When I try to pass an array from a template.json to the dest JSON file the result looks incorrect: example: template file: `{ "inpath": ["/2_dir","/3_dir"]...
Hello Using J2CLI and a template file, i would like to generate a JINJA2 template as an output. So i need the first template to use JINJA tags that are...
Hi. Is there way to enable [`trim_blocks`, `lstrip_blocks`](https://jinja.palletsprojects.com/en/2.11.x/templates/#whitespace-control)?
https://github.com/kolypto/j2cli/blob/542b18c26ce9854f7787f0c95a6d10523f2eefc6/j2cli/cli.py#L239 This is not correct. The only usage of `cwd` is in `FilePathLoader` which has to deal with relative (to the template) paths. This should not be called cwd and...
Our `docker-compose up` and `ecs-cli up` (AWS Elastic Container Service (ECS)) deploys just started failing all of the sudden with: > appserver_1 | Traceback (most recent call last): > appserver_1...
Fix copy&paste error
The projects `README` states that this project was inspired by https://github.com/mattrobenolt/jinja2-cli but there is no comparison between the projects to help users decide between this project and `jinja2-cil`. On a...