jq or use in scripts and CI/CD pipelines.
The package ships two binaries:
This page documents CLI version 2.2.0 (
@social-media-scheduler/cli). All commands use colon syntax — for example posts:list, media:upload, ai:generate. Run so-me --help to see the full command list, or so-me <command> --help for a single command’s flags.Installation
Requires Node.js >= 20.0.0.
Authentication
You need an API key to use the CLI. See Authentication to generate one.- API Key (recommended)
- Browser Login (device flow)
- Environment Variable
Global Options
Every command accepts these flags. Long and short forms are both shown where a short alias exists.Output Formats
Output is JSON by default. Pass--table for a human-readable table on commands that support it.
- JSON (default)
- Table
Pagination
Most list commands accept pagination flags:Environment Variables
Command Groups
The CLI registers the following command groups. Each links to its detailed reference.Auth
Login (API key or device flow), logout, status, whoami
Posts
Create, schedule, update, retry, resubmit, and delete posts; calendar view
Drafts
Create, update, delete drafts and convert them to scheduled posts
Accounts
Connect, list, inspect, and remove social accounts
Media
Upload, search, organize into folders, rename, move, and delete files
Analytics
Platform-level and per-post analytics
Inbox
Conversations, messages, replies, saved replies, resolve, subscriptions
Approvals
List, approve, and reject pending posts
Teams
Invite, list, update, remove members; manage invitations
Biolinks
Create and manage bio link pages, buttons, posts, themes, and publishing
Settings
Profile, organizations, tenants, API keys, usage, billing, referral code
AI
Generate text, images, and UGC/avatar video; browse history, avatars, sounds
Comments
List, add, edit, delete, and mark post comments as read
Support
Open tickets, list tickets, read and send messages
Templates
List, inspect, and render content templates (memes, quote cards, testimonials)
Webhooks
Create, list, update, test, retry, and inspect webhook deliveries
Billing
Browse plans, plan features, and add-ons
Manage WhatsApp Business templates, upload media, and send messages
Agent
Export the canonical tool catalog for OpenClaw, Hermes, OpenAI, Anthropic, and MCP
Command group reference
Quick Examples
Scripting & Automation
Learn how to use the CLI in shell scripts, CI/CD pipelines, and automation workflows.