(cli *cli)
| 94 | } |
| 95 | |
| 96 | func updatePromptsTextCmd(cli *cli) *cobra.Command { |
| 97 | var inputs promptsTextInput |
| 98 | |
| 99 | cmd := &cobra.Command{ |
| 100 | Use: "update", |
| 101 | Args: cobra.MaximumNArgs(1), |
| 102 | Short: "Update the custom text for a prompt", |
| 103 | Long: "Update the custom text for a prompt.", |
| 104 | Example: ` auth0 universal-login prompts update <prompt> |
| 105 | auth0 universal-login prompts update <prompt> --language <language> |
| 106 | auth0 ul prompts update signup -l es`, |
| 107 | RunE: updateBrandingText(cli, &inputs), |
| 108 | } |
| 109 | |
| 110 | textLanguage.RegisterString(cmd, &inputs.Language, textLanguageDefault) |
| 111 | |
| 112 | return cmd |
| 113 | } |
| 114 | |
| 115 | func showPromptsText(cli *cli, inputs *promptsTextInput) func(cmd *cobra.Command, args []string) error { |
| 116 | return func(cmd *cobra.Command, args []string) error { |
no test coverage detected