Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify default query #36

Open
pavelzw opened this issue Apr 10, 2024 · 0 comments
Open

Specify default query #36

pavelzw opened this issue Apr 10, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@pavelzw
Copy link

pavelzw commented Apr 10, 2024

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.

@ynqa ynqa added the feature request New feature or request label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants