jinja2-cli icon indicating copy to clipboard operation
jinja2-cli copied to clipboard

feature: implement -S --stream option

Open Kamilcuk opened this issue 1 year ago • 0 comments

Implement -S --stream option for taking input from stdin and outputting to stdout.

$ jinja2 -S <<<'{% set a = 1 %}{{ a }}'
1

Thanks!

Solves https://github.com/mattrobenolt/jinja2-cli/issues/129 .

Please kindly also look at https://github.com/mattrobenolt/jinja2-cli/pull/126 .

Kamilcuk avatar Jul 27 '24 07:07 Kamilcuk