mirror of
https://github.com/antonmedv/fx
synced 2024-11-03 15:40:12 +00:00
docs/images | ||
pkg | ||
go.mod | ||
go.sum | ||
help.go | ||
keymap.go | ||
LICENSE | ||
main.go | ||
print.go | ||
README.md | ||
search_test.go | ||
search.go | ||
util_test.go | ||
util.go | ||
version.go | ||
viewport.go |
fx
* 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