CLI Overview
Installation
Section titled “Installation”npm install -g @agendapanda/cliGlobal Flags
Section titled “Global Flags”| Flag | Description |
|---|---|
--json | Output JSON instead of human-readable text |
--project <id> | Override the active project |
--connection <id> | Override the default connection |
--dry-run | Preview changes without applying them |
Environment Variables
Section titled “Environment Variables”| Variable | Description |
|---|---|
AP_API_KEY | API key for non-interactive auth (CI/CD) |
AP_API_URL | Custom API endpoint (defaults to agendapanda.com) |
AP_PROJECT | Default project ID |
Commands
Section titled “Commands”| Command | Description |
|---|---|
ap init | Initialize a new project |
ap auth | Manage authentication |
ap post | Create and publish posts |
ap calendar | Manage your content calendar |
ap connections | Manage social connections |
ap context | Pipe brand context to LLMs |
ap media | Upload and manage media |
ap projects | Switch between projects |
ap alias | Manage command aliases |