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

feat: add ynqa/jnv #21127

Merged
merged 3 commits into from Mar 21, 2024
Merged

feat: add ynqa/jnv #21127

merged 3 commits into from Mar 21, 2024

Conversation

ponkio-o
Copy link
Sponsor Contributor

ynqa/jnv: interactive JSON filter using jq

$ aqua g -i ynqa/jnv

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ jnv --help
JSON navigator and interactive filter leveraging jq

Usage: jnv [OPTIONS] [INPUT]

Examples:
- Read from a file:
        jnv data.json

- Read from standard input:
        cat data.json | jnv

Arguments:
  [INPUT]
          Optional path to a JSON file. If not provided or if "-" is specified, reads from standard input

Options:
  -e, --edit-mode <EDIT_MODE>

                  Specifies the edit mode for the interface.
                  Acceptable values are "insert" or "overwrite".
                  - "insert" inserts a new input at the cursor's position.
                  - "overwrite" mode replaces existing characters with new input at the cursor's position.


          [default: insert]

  -i, --indent <INDENT>

                  Affect the formatting of the displayed JSON,
                  making it more readable by adjusting the indentation level.


          [default: 2]

  -n, --no-hint

                  When this option is enabled, it prevents the display of
                  hints that typically guide or offer suggestions to the user.


  -d, --expand-depth <EXPAND_DEPTH>

                  Specifies the initial depth to which JSON nodes are expanded in the visualization.
                  Note: Increasing this depth can significantly slow down the display for large datasets.


          [default: 3]

  -l, --suggestion-list-length <SUGGESTION_LIST_LENGTH>

                  Controls the number of suggestions displayed in the list,
                  aiding users in making selections more efficiently.


          [default: 3]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Reference

[ynqa/jnv](https://github.com/ynqa/jnv): interactive JSON filter using jq
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Mar 21, 2024
@suzuki-shunsuke suzuki-shunsuke added this to the v4.155.0 milestone Mar 21, 2024
@suzuki-shunsuke
Copy link
Member

Thank you always!

@suzuki-shunsuke suzuki-shunsuke merged commit fff99e2 into aquaproj:main Mar 21, 2024
16 checks passed
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants