interactive
interactive copied to clipboard
Input with list of options
Is your feature request related to a problem? Please describe.
It would be nice to have a way to prompt the user to select one option within a list of choices. E.g. Please pick a fruit, choices = ["Apple", "Orange", "Strawberry"]
Describe the solution you'd like
An API such as
Kernel.GetInputAsync("Please pick a fruit", choices = ["Apple", "Orange", "Strawberry"])
Describe alternatives you've considered
Adding the choices to the prompt string, which is clearly not so great.