(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool)
| 173 | } |
| 174 | |
| 175 | func askFlag(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool) error { |
| 176 | if shouldAsk(cmd, f, isUpdate) { |
| 177 | return ask(f, value, defaultValue, isUpdate) |
| 178 | } |
| 179 | |
| 180 | return nil |
| 181 | } |
| 182 | |
| 183 | func askManyFlag(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool) error { |
| 184 | if shouldAsk(cmd, f, isUpdate) { |