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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Write the output to stdout #40

Open
anton-suprun opened this issue Apr 27, 2024 · 0 comments
Open

Feature Request: Write the output to stdout #40

anton-suprun opened this issue Apr 27, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@anton-suprun
Copy link

anton-suprun commented Apr 27, 2024

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

@ynqa ynqa added the feature request New feature or request label Apr 29, 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