Documentation
¶
Overview ¶
Package prompt provides terminal output functions for the prompt command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptCreated ¶
PromptCreated prints the confirmation after creating a prompt template.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- name: prompt template name.
func PromptItem ¶
PromptItem prints a single prompt name in the list.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- name: prompt template name.
func PromptNone ¶
PromptNone prints the message when no prompts are found.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func Removed ¶
Removed prints the confirmation after removing a prompt template.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- name: prompt template name.
func ShowContent ¶
ShowContent prints prompt template content to stdout.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- content: Raw prompt template bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.