-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
[feature] Add ability to output selection when exiting #209
Comments
I came across fx seeking this exact feature. I'm using AWS a lot currently, and when I manually run commands it would be useful to pipe into interactive fx to choose the property I want. So I would just have to do |
I think a fx -select or something will be ok. |
So is it a feature you're still considering? |
Yes, for sure. Don’t know when I gonna find time to implement it, unless someone decides to support this feature development) |
Hi again, I have a prototype. To make the program interactive when stdout is piped (aka not a tty), I use stderr. You can try this feature with something like I'll open a pull request if you're interested :) |
I propose extension to this feature: Three options:
|
Now js has yank support. |
It's good, but there are two drawbacks:
|
What
When exiting, we could use either an entry flag or a keyboard shortcut to output selected value to standard output.
Why
This would make
fx
useful as part of interactive pipelines.History
Previously implemented in the NodeJS version, but not yet in the rewritten-in-Go version. Previous request: #132.
The text was updated successfully, but these errors were encountered: