You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up our simple command-line utility to prompt using this library, and it worked fine on macOS and Windows.
I wanted to be able to test though, and wasn't successful. With our previous (even simpler) prompting technique we were able to capture/redirect stdin/stdout and pipe in responses to the prompts to look for the correct responses, but that seems to result in empty responses using this library.
I set up our simple command-line utility to prompt using this library, and it worked fine on macOS and Windows.
I wanted to be able to test though, and wasn't successful. With our previous (even simpler) prompting technique we were able to capture/redirect stdin/stdout and pipe in responses to the prompts to look for the correct responses, but that seems to result in empty responses using this library.
Suggestions how to test programs using this prompter? The traditional technique we've used is at https://github.com/drud/ddev/blob/165ba9902196f8b12cce68fe8b2d8725e0706231/pkg/ddevapp/config_test.go#L171-L194
The text was updated successfully, but these errors were encountered: