chzyer/readline

can it support pipeline input? echo "test" | readline-cli

Opened this issue · 2 comments

when I use: echo "some" | readline-cli
the program will not prompt to let me input data again.

Any idea to support pipeline stdin? thank you.

Not sure if that is possible as stdin will not be a tty/terminal. Do you know of any other cli program that supports this?

btw maybe https://github.com/ergochat/readline could be of interest