-
Notifications
You must be signed in to change notification settings - Fork 7
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
Can it support pipe line input ? echo "pipeinput" | ./readline-cli #62
Comments
What is the question exactly? Your screenshot seems to show readline working as expected with non-terminal input. |
I think related to chzyer/readline#234 |
Oh, that makes sense, the ask is for the program to continue executing? expect(1) is the normal workaround for this, it works with both our fork and upstream. |
produces
Integrating this directly into readline is out of scope. |
My golang-cli is will simply call fmt.Scanln and ask the user input login/pass as variable while the cli running. Until I want make it support either open file or read the pipeline input, the pipeline input break the fmt.Scanln (like this: echo "filename" | cli or cli -f filename) and while the cli running , it will ask user input login/pass |
The text was updated successfully, but these errors were encountered: