MCPcopy Create free account
hub / github.com/auth0/auth0-cli / appPickerWithCreateOption

Method appPickerWithCreateOption

internal/cli/test.go:402–417  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

400}
401
402func (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
419func (c *cli) audiencePickerOptions(client *management.Client) func(ctx context.Context) (pickerOptions, error) {
420 return func(ctx context.Context) (pickerOptions, error) {

Callers

nothing calls this directly

Calls 1

appPickerOptionsMethod · 0.95

Tested by

no test coverage detected