Commands
get
--json prints the whole prompt instead, including its version and channel. --channel and --at select which version to resolve, following the same rules as the API.
The flag to pin a version is
--at. --version prints the CLI’s own version.list
id, latest version, and name. Returns up to 100 prompts.
versions
push
- to read the content from stdin:
promote
Scripting
Content goes to stdout and everything else to stderr, so redirecting a prompt to a file captures the prompt and nothing else. A failure exits non-zero with a single line and no stack trace:Completions
bash and fish.
Configuration
ANPORD_BASE_URL is read by the CLI and the MCP server. The SDK constructor does not read it — pass { baseUrl } to point the client elsewhere.