( message string, defaultValues []string, storage *[]string, options []string, opts ...survey.AskOpt, )
| 36 | } |
| 37 | |
| 38 | func AskMultiSelectQuestion( |
| 39 | message string, |
| 40 | defaultValues []string, |
| 41 | storage *[]string, |
| 42 | options []string, |
| 43 | opts ...survey.AskOpt, |
| 44 | ) error { |
| 45 | err := survey.AskOne( |
| 46 | &survey.MultiSelect{ |
| 47 | Message: message, |
| 48 | Default: defaultValues, |
| 49 | Options: options, |
| 50 | }, |
| 51 | storage, |
| 52 | ) |
| 53 | |
| 54 | return err |
| 55 | } |
| 56 | |
| 57 | func AskSelectQuestion( |
| 58 | message string, |
no outgoing calls
no test coverage detected