Skip to main content
Approval commands drive the post review workflow: list posts that are waiting for a decision, then approve or reject them. Rejections require a reason so the author knows what to fix.
All commands accept the global flags: --json (default) / --table, --verbose, --api-key <key>, and --api-url <url>. You can also set SOME_API_KEY and SOME_API_URL in your environment.

approvals:list

List posts pending approval in your workspace.
Examples

approvals:approve

Approve a post that is pending approval. The approval comment is optional.
string
required
Post ID to approve.
Examples

approvals:reject

Reject a post that is pending approval. A rejection reason is required.
string
required
Post ID to reject.
--comment is mandatory for approvals:reject. The command exits with an error if it is omitted.
Examples