top | item 21984791

(no title)

pololee | 6 years ago

I have used fx for a few days and enjoyed it. https://github.com/antonmedv/fx

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)'

discuss

order

cube2222|6 years ago

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}'