- promptToSelect<Res>(type, message, choices): Promise<Res>
Parameters
- type: "select"
- message: string
- choices: string[] | Choice[]
Returns Promise<Res>
- promptToSelect<Res>(type, message, choices): Promise<Res>
Parameters
- type: "multiselect"
- message: string
- choices: string[] | Choice[]
Returns Promise<Res>
Prompts the user to select an option from the given choices.