(cli *cli)
| 49 | } |
| 50 | |
| 51 | func 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 | |
| 67 | func customTextPromptOptions(_ context.Context) (pickerOptions, error) { |
| 68 | var opts pickerOptions |
no test coverage detected