jq-mode
jq-mode copied to clipboard
Feature request: header argument for --slurpfile
As far as I can see, it's not currently possible to get input from more than one file in a jq block.
I propose adding a new header argument, which can appear more than once, to allow for several files to be read into variables. Something like this:
#+header: :slurpfile file1=file1.json :slurpfile file2=file2.json
As a workaround you can use the :stdin
option and cat
the files in another shell
block.