(ctx context.Context)
| 400 | } |
| 401 | |
| 402 | func (c *cli) appPickerWithCreateOption(ctx context.Context) (pickerOptions, error) { |
| 403 | options, err := c.appPickerOptions()(ctx) |
| 404 | if err != nil { |
| 405 | return nil, err |
| 406 | } |
| 407 | |
| 408 | enhancedOptions := []pickerOption{ |
| 409 | { |
| 410 | value: newClientOption, |
| 411 | label: "Create a new client to use for testing the login", |
| 412 | }, |
| 413 | } |
| 414 | enhancedOptions = append(enhancedOptions, options...) |
| 415 | |
| 416 | return enhancedOptions, nil |
| 417 | } |
| 418 | |
| 419 | func (c *cli) audiencePickerOptions(client *management.Client) func(ctx context.Context) (pickerOptions, error) { |
| 420 | return func(ctx context.Context) (pickerOptions, error) { |
nothing calls this directly
no test coverage detected