Open johanwk opened 3 years ago
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:
As a workaround you can use the :stdin option and cat the files in another shell block.
:stdin
cat
shell
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