script
script copied to clipboard
Is it possble to ask for user input?
I want to make interactive scripts with https://github.com/charmbracelet/gum, that is, using script.Exec(<gum command>) show the interactive menu of gum asking for input, then capture the output and continue using that in the rest of my script. I know I can do it with the "os/exec" functionality, I'm wondering if the library offers a way of easily doing it in a pipe.
Thanks!
Thanks, @dangelowiz! There was some discussion about this in #51, but so far we have not come up with a compelling design for how this would work. Suggestions welcome!