We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an issue when parsing multiline environment variables, the cli is not able to parse them.
export TEST_VALUE='first line next line' env | jinja2 --format env my_file.txt
This raises a ValueError because the environment variables file is parsed line by line, and the second line does not contain a variable name.
How can I handle such variables ?
The text was updated successfully, but these errors were encountered:
~/test: $ cat my_file.txt Print {{ environ('TEST_VALUE') }} ~/test: $ export TEST_VALUE='first line next line' ~/test: $ jinja2 my_file.txt Print first line next line
Sorry, something went wrong.
No branches or pull requests
I have an issue when parsing multiline environment variables, the cli is not able to parse them.
This raises a ValueError because the environment variables file is parsed line by line, and the second line does not contain a variable name.
How can I handle such variables ?
The text was updated successfully, but these errors were encountered: