ynqa / jnv

Interactive JSON filter using jq
MIT License
4.9k stars 54 forks source link

Specify default query #36

Open pavelzw opened 7 months ago

pavelzw commented 7 months ago

It would be cool to be able to specify a default query for interactive searching:

$ cat data.json | jnv --default-query '.result.abc'
❯❯ .result.abc
...

This would make it easier when inspecting multiple similar json inputs to always land in the same entry and investigate interactively from there using jnv instead of needing to type .result.abc each time.

gambjonny commented 1 month ago

+1