(cmd *cobra.Command, value *[]int, defaultValue *[]int)
| 166 | } |
| 167 | |
| 168 | func (f *Flag) AskIntSlice(cmd *cobra.Command, value *[]int, defaultValue *[]int) error { |
| 169 | if shouldAsk(cmd, f, false) { |
| 170 | return askIntSlice(f, value, defaultValue) |
| 171 | } |
| 172 | return nil |
| 173 | } |
| 174 | |
| 175 | func askFlag(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool) error { |
| 176 | if shouldAsk(cmd, f, isUpdate) { |
no test coverage detected