3 ms·
Cat xxx.json | fx 'whatever' | fx Is how I usually do so, if you don't want the interactive mode drop the last pipe
by gryn 5y ago
Cat xxx.json | fx 'whatever' | fx
Is how I usually do so, if you don't want the interactive mode drop the last pipe
- tyingq 5y agoNot sure I understand. I mean using the interactive mode to figure out the right query ("[].mumble.whatever...") and then being able to save the text of the query that you figured out by pointing and clicking. Like a graphical SQL query builder allows you to do.
- FragenAntworten 5y agoYou can do this with `jid -q`: https://github.com/simeji/jid https://github.com/simeji/jid (Its interactivity is keyboard- rather than mouse-based.)
- tyingq 5y agoOh, that's great...outputs a jq-compatible query. Thanks!