Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteCmd = &cobra.Command{ Use: "delete <prompt-name>", Short: "Delete a prompt from the registry", Long: `Delete a prompt from the registry. Examples: arctl prompt delete my-prompt --version 1.0.0`, Args: cobra.ExactArgs(1), RunE: runDelete, }
View Source
var ListCmd = &cobra.Command{
Use: "list",
Short: "List prompts",
Long: `List prompts from connected registries.`,
RunE: runList,
}
View Source
var PromptCmd = &cobra.Command{ Use: "prompt", Short: "Commands for managing prompts", Long: `Commands for managing prompts.`, Args: cobra.ArbitraryArgs, Example: `arctl prompt publish system-prompt.txt --name my-prompt --version 1.0.0 arctl prompt list arctl prompt show my-prompt arctl prompt delete my-prompt --version 1.0.0`, }
View Source
var PublishCmd = &cobra.Command{ Use: "publish <file>", Short: "Publish a prompt to the registry", Long: `Publish a prompt to the agent registry. The file can be: - A plain text file (.txt, .md, etc.) containing the prompt content. Use --name and --version flags to set metadata. - A YAML file (.yaml, .yml) with structured prompt definition (name, version, description, content fields). Examples: arctl prompt publish system-prompt.txt --name my-prompt --version 1.0.0 arctl prompt publish system-prompt.txt --name my-prompt --version 1.0.0 --description "System prompt for code review" arctl prompt publish prompt.yaml`, Args: cobra.ExactArgs(1), RunE: runPublish, }
View Source
var ShowCmd = &cobra.Command{ Use: "show <prompt-name>", Short: "Show details of a prompt", Long: `Shows detailed information about a prompt from the registry.`, Args: cobra.ExactArgs(1), RunE: runShow, }
Functions ¶
func SetAPIClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.