[Feature Request] Allow defining variables on command line
hubertgrzeskowiak opened this issue · comments
In many cases you'll have templates with just one or two variables. It's quite a hassle to create a data file each time.
Just use environment variables:
$ echo "Value: {{ A }}" > /tmp/test.j2
$ export A=123
$ j2 /tmp/test.j2
Value: 123