Re:Show HN: jql – Easier jq Alternative with a Lispy Syntax ...
by cube2222 on Tuesday January 07, 2020 @04:07PM
(#21984863)
I've seen fx recently and it looks very interesting. jql is obviously not as feature-rich, but you can achieve interactivity with fzf!
echo '' | fzf --print-query --preview-window wrap --preview 'cat test.json | jql {q}'
Highlights - interactive mode - Use full power of JavaScript.
$ curl ... | fx '.filter(x => x.startsWith("a"))'
- Access all lodash (or ramda, etc) methods by using .fxrc file.
$ curl ... | fx '_.groupBy("commit.committer.name")' '_.mapValues(_.size)'