Skip to content

Feature Request: Write the output to stdout  #40

@anton-suprun

Description

@anton-suprun

Feature Request

Intro

Hi 👋

Started using this tool recently and wanted to say that I love it; great work and thank you for building this! 😊

Description

Have jnv behave similarly to fzf where I could do something like:

cat my_file.json | jnv | <some cli tool> - and the output from my jq query would be written to stdout.

Essentially either via some keybinding or via an arguement (e.g.: jnv --write-to-stdout) would write the output to standard out.

I noticed there is an existing issue mentioning copying the selected output; having it write to stdout would (in a way) achieve the same outcome as user could cat my_file.json | jnv | <some cli tool that copies to clipboard; e.g. pbcopy

Question (Contribution?)

I was wondering how much of a lift this would be; I haven't expored the code base yet and am not familiar with the rust cli/tui ecosystem. I'd be happy to try working on something like this however it would be a slow process and I'd need some initial guidance/direction on how to approach this problem. I've only worked on some small toy cli tools with go + cobra + bubbletea

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions