Skip to content
Browse documentationCMS

CMS commands

Signatures, flags and examples for recala cms.

Use these commands

Connect your content management system and check its status.

Examples assume you have signed in and selected the intended organization. Set shell variables such as ARTICLE_ID to ids from the corresponding list command. Set PUBLICATION_TIME to a future local time in YYYY-MM-DDTHH:MM format.

Badges describe the command’s strongest effect; a preview or read-only option may do less. Guarded writes can require confirmation even without --yes. “Needs a person” covers identity, consent and credentials.

recala cms connect

Connect Sanity or WordPress. Credentials come from env, --token-stdin or a hidden human prompt.

needs a person Acts on an organization
recala cms connect [OPTIONS]
Signature

Replace [OPTIONS] with the flags you need, or omit it.

FlagRequiredDescription
--jsonNoPrint one JSON document (errors as JSON on stderr).
--orgNoCompany name, slug or id (else RECALA_ORG, else recala company use).
--providerNoNo description supplied by the CLI.
--projectNoNo description supplied by the CLI.
--datasetNoNo description supplied by the CLI.
--schema-profileNoSanity document schema (default post; prompts when interactive).
--blog-urlNoNo description supplied by the CLI.
--authorNoPERSON_ID=SANITY_AUTHOR_ID.
--siteNoNo description supplied by the CLI.
--userNoNo description supplied by the CLI.
--wordpress-comNoNo description supplied by the CLI.
--wpcom-addressNoNo description supplied by the CLI.
--token-stdinNoRead the CMS token/password from one stdin line; never echoes it.
--dry-runNoCheck everything and say what would change, without changing it.

Examples

Run in your terminal with the intended organization selected.

recala cms connect

Exit codes 0 OK 1 ERROR 2 USAGE 3 NOT_AUTHENTICATED 4 FORBIDDEN 5 NOT_FOUND 6 CONFLICT 7 INVALID 8 RATE_LIMITED 9 UNAVAILABLE 10 CONFIRMATION_REQUIRED 11 PAYMENT_REQUIRED

API commands share the CLI’s HTTP error mapping. Read human and JSON output rules.

recala cms status

CMS, Search Console and sitemap: next steps.

read Acts on an organization
recala cms status [OPTIONS]
Signature

Replace [OPTIONS] with the flags you need, or omit it.

FlagRequiredDescription
--jsonNoPrint one JSON document (errors as JSON on stderr).
--orgNoCompany name, slug or id (else RECALA_ORG, else recala company use).

Examples

Set the named shell variables to your own values before running.

recala cms status

Exit codes 0 OK 1 ERROR 2 USAGE 3 NOT_AUTHENTICATED 4 FORBIDDEN 5 NOT_FOUND 6 CONFLICT 7 INVALID 8 RATE_LIMITED 9 UNAVAILABLE 11 PAYMENT_REQUIRED

API commands share the CLI’s HTTP error mapping. Read human and JSON output rules.

CLI reference
Search documentation