Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alter_context like in j2cli #44

Open
pkalemba opened this issue Dec 4, 2024 · 1 comment
Open

alter_context like in j2cli #44

pkalemba opened this issue Dec 4, 2024 · 1 comment

Comments

@pkalemba
Copy link

pkalemba commented Dec 4, 2024

Hi,

I'm migrating away from the unmaintained j2cli tool, but my use case involves a specific environment. I’ve been leveraging the j2 command with the --customize option, where I define a function utilizing the alter_context feature to manipulate the rendering context dynamically.

After reviewing the documentation , I couldn’t find a comparable option or feature.
Is there a recommended approach to achieve similar functionality in jinjanator ?

@mlasevich
Copy link

I just opened #46 to add this functionality, lets see if it will be accepted :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants