Go to file
2022-04-18 22:57:05 +02:00
docs/images Update README.md 2022-04-17 23:04:58 +02:00
pkg Add ruby reducers 2022-04-18 22:57:05 +02:00
go.mod Add themes 2022-04-16 22:16:19 +02:00
go.sum Add themes 2022-04-16 22:16:19 +02:00
help.go Better usage output 2022-04-18 16:54:32 +02:00
keymap.go Refactor search result printing 2022-04-16 22:16:19 +02:00
LICENSE Add LICENSE 2022-04-16 22:16:19 +02:00
main.go Add --version flag 2022-04-18 19:30:26 +02:00
print.go Move part of the code to pkg 2022-04-17 22:57:12 +02:00
README.md Update README.md 2022-04-17 23:04:58 +02:00
search_test.go Move part of the code to pkg 2022-04-17 22:57:12 +02:00
search.go Move part of the code to pkg 2022-04-17 22:57:12 +02:00
util_test.go Reimplement in go 2022-04-16 22:16:19 +02:00
util.go Refactor search result printing 2022-04-16 22:16:19 +02:00
version.go Add --version flag 2022-04-18 19:30:26 +02:00
viewport.go Move part of the code to pkg 2022-04-17 22:57:12 +02:00

fx

fx example

* Function eXecution

Install

go install github.com/antonmedv/fx@latest

Or via Homebrew

TODO

Or download pre-built binary.

Usage

Start the interactive viewer via:

$ fx data.json

Or

$ curl ... | fx

Type ? to see full list of key shortcuts.

Reducers

$ fx data.json '.filter(x => x.startsWith("a"))'

Access all lodash (or ramda, etc) methods by using .fxrc file.

$ fx data.json 'groupBy("commit.committer.name")' 'mapValues(_.size)'

Documentation

See full documentation.

Themes

Theme can be configured by setting environment variable FX_THEME from 1 to 9:

export FX_THEME=9
themes

License

MIT