CLI
arctl prompt publish

arctl prompt publish

Publish a prompt to agentregistry. The prompt can be provided as a plain text file or a YAML file.

When publishing from a text file, the --name and --version flags are required. When publishing from a YAML file (.yaml or .yml), the name and version are read from the file but can be overridden with flags.

Usage

arctl prompt publish <file> [flags]

Example:

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
arctl prompt publish prompt.yaml --version 2.0.0

Command-specific flags

--name string: Prompt name (required for text files)
--version string: Prompt version (required for text files)
--description string: Prompt description
--dry-run: Show what would be done without actually doing it

Global flags

-v, --verbose: Enable verbose output.
-h, --help: Display help information for the command.