• Stars
    star
    305
  • Rank 136,814 (Top 3 %)
  • Language
    Ruby
  • License
    Other
  • Created over 4 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jq Querier: an interactive wrapper around jq

jqq

jq Querier: an interactive wrapper around jq

Requirements

Installation

  • Clone this repository
  • bundle install
  • Optionally: add a nice alias to your ~/.profile or equivalent:
alias jqq="/path/to/jqq.rb"

Usage

Usage: jqq <expr> <file>

Demo

Keybindings

jqq uses readline-like keybindings:

Keybinding Action
Enter re-evaluate expression
ctrl-a goto beginning of line
ctrl-e goto end of line
ctrl-k kill line (delete to end of line)
ctrl-d delete next character

Future Work

  • smart window resize support (re-run only if needed)
  • stdin support
  • rewrite in another language
  • colors!

License

BSD