2.4's new --template flag is great, particularly for Nushellers for whom process substitution isn't available 😅
When the --template <TEMPLATE_STRING> is used, potentially the next file parameter could be assumed to be the DATA_FILE?
$ minijinja-cli -t 'Hi {{ name }}' -D name=@mitsuhiko
Hi @mitsuhiko
# unable to pass the data as stdin (or other file)?
$ jo name='\@mitsuhiko' | minijinja-cli -f json -t 'Hi {{ name }}' -
error: the argument '--template <TEMPLATE_STRING>' cannot be used with '[TEMPLATE_FILE]'
Usage: minijinja-cli --format <FORMAT> --template <TEMPLATE_STRING> [TEMPLATE_FILE] [DATA_FILE]
For more information, try '--help'.
2.4's new
--template
flag is great, particularly for Nushellers for whom process substitution isn't available 😅When the
--template <TEMPLATE_STRING>
is used, potentially the next file parameter could be assumed to be theDATA_FILE
?Thank you for everything 🙏