jqless

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 7 Imported by: 0

README

jqless

jqless is a combination between jq and less, enabling users to filter and extract data from JSON in real-time -- useful when first learning the syntax or for power users trying to extract multiple pieces of data from a single JSON blob.

demo

Installation

Build from source with Go, see the release binaries, or use Homebrew if on Mac:

brew tap samsullivan/samsullivan
brew install jqless
Usage

To use, start jqless in your favorite terminal by either piping JSON data to the process or including a file path as the first argument.

jqless [path/to/file.json]
cat [path/to/file.json] | jqless

Once loaded, type your jq query as expected and see the results filter. To extract results to your clipboard, use ctrl+x as shown in help text.

More options to come in future versions!

Acknowledgements

It is written in Golang using the Bubble Tea framework and gojq. Inspiration h/t to jq-live.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL