Skip to content

Is it possble to ask for user input? #132

Open

Description

@dangeloag

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!

Activity

  1. bitfield commented on Sep 10, 2022

    @bitfield
    Owner

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions