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

Function universalLoginPromptsTextCmd

internal/cli/prompts_custom_text.go:51–65  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

49}
50
51func universalLoginPromptsTextCmd(cli *cli) *cobra.Command {
52 cmd := &cobra.Command{
53 Use: "prompts",
54 Short: "Manage custom text for prompts",
55 Long: fmt.Sprintf("Manage custom [text for prompts](%s).", textDocsURL),
56 Aliases: []string{"texts"},
57 }
58
59 cmd.SetUsageTemplate(resourceUsageTemplate())
60
61 cmd.AddCommand(showPromptsTextCmd(cli))
62 cmd.AddCommand(updatePromptsTextCmd(cli))
63
64 return cmd
65}
66
67func customTextPromptOptions(_ context.Context) (pickerOptions, error) {
68 var opts pickerOptions

Callers 1

universalLoginCmdFunction · 0.85

Calls 3

resourceUsageTemplateFunction · 0.85
showPromptsTextCmdFunction · 0.85
updatePromptsTextCmdFunction · 0.85

Tested by

no test coverage detected