(i commandInput, value interface{}, isUpdate bool)
| 50 | } |
| 51 | |
| 52 | func askPassword(i commandInput, value interface{}, isUpdate bool) error { |
| 53 | isRequired := isInputRequired(i, isUpdate) |
| 54 | input := prompt.PasswordInput("", i.GetLabel(), isRequired) |
| 55 | |
| 56 | if err := prompt.AskOne(input, value); err != nil { |
| 57 | return handleInputError(err) |
| 58 | } |
| 59 | |
| 60 | return nil |
| 61 | } |
| 62 | |
| 63 | func askMultiSelect(i commandInput, value interface{}, options ...string) error { |
| 64 | v := reflect.ValueOf(options) |
no test coverage detected