stu icon indicating copy to clipboard operation
stu copied to clipboard

Output selected path to stdout and exit

Open lusingander opened this issue 8 months ago • 1 comments

Discussed in https://github.com/lusingander/stu/discussions/64

Originally posted by dolzenko April 4, 2025 E.g. in my case I wanted a quick way to download and run custom command on the file. Or, possibly, run command with path to file on the bucket. I'm thinking something along the lines of fzf. https://github.com/junegunn/fzf Seems like the simplest thing would be to provide new keybind to output selected/downloaded path to stdout and exit

lusingander avatar Apr 07 '25 13:04 lusingander

It seems like we need to be able to write the tui output to stderr. https://ratatui.rs/faq/#should-i-use-stdout-or-stderr

lusingander avatar Apr 07 '25 14:04 lusingander