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

Add a flag to set a single variable in the render context #20

Open
M3t0r opened this issue Nov 21, 2019 · 0 comments
Open

Add a flag to set a single variable in the render context #20

M3t0r opened this issue Nov 21, 2019 · 0 comments

Comments

@M3t0r
Copy link
Owner

M3t0r commented Nov 21, 2019

I'd like a flag to easily set one variable in the context. This could be a constant defined by the user of the template or used for only passing through some variables from the environment.

tpl --var VISUAL="$VISUAL" - or tpl --var fancy=true --json audit.json ./report.tpl

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

1 participant