func(ctx context.Context) (pickerOptions, error)
| 35 | } |
| 36 | |
| 37 | type pickerOptionsFunc func(ctx context.Context) (pickerOptions, error) |
| 38 | |
| 39 | func (a *Argument) Pick(cmd *cobra.Command, result *string, fn pickerOptionsFunc) error { |
| 40 | if !canPrompt(cmd) { |
no outgoing calls
no test coverage detected