(cmd *cobra.Command, f *Flag, value *int, defaultValue *string, isUpdate bool)
| 205 | } |
| 206 | |
| 207 | func askIntFlag(cmd *cobra.Command, f *Flag, value *int, defaultValue *string, isUpdate bool) error { |
| 208 | if shouldAsk(cmd, f, isUpdate) { |
| 209 | return askInt(f, value, defaultValue, isUpdate) |
| 210 | } |
| 211 | return nil |
| 212 | } |
| 213 | |
| 214 | func selectFlag(cmd *cobra.Command, f *Flag, value interface{}, options []string, defaultValue *string, isUpdate bool) error { |
| 215 | if shouldAsk(cmd, f, isUpdate) { |