akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow running up with no input

NightMachinery opened this issue · comments

I like to run up to just run grep searches interactively (using ripgrep on the current directory).

I saw this sentiment expressed also in #33; can you please help me understand if there are reasons why e.g. something like echo | up is not working for you? (Or maybe even just :|up?) What holds me back on this feature is basically that I'm having concerns about discoverability of the app's core feature being impacted...

@akavel Because up passes the dummy input to the command, and a lot of commands (including grep) will change their behavior if stdin is present. I don't think discoverability will be affected; If anything, the current marketing seems confusing to me. up is essentially a new mode of using a REPL. I think the best summary of what up is, is up makes your commands sticky in any REPL. Anyhow, adding an option for running with no input, if not advertised upfront, definitely won't change people's first impression of the tool.

Would this not be the exact usecase for FZF?