Closed chancez closed 5 years ago
This conflicts with the existing -f
flag which is for the input format, but I can understand the desire to add this functionality. A workaround could be using the party hat operator:
$ faq '.' <(cat myFile.json)
I'm an idiot, this does exist.
-F, --program-file string If specified, read the file provided as the jq program for faq.
I even added it. I just had an old cached build around.
I wonder if we should swap the flags for compat, though.
jq
has the following flag as an option:faq
should have something similar.