Skip to content
RT-Themes CLI

CMS Integration Kit

Use the matching .rtthemes/kit.json included with your product. It describes the exact core version, content modules and architectural reference. The theme owns that reference; the CLI uses a shared questionnaire and planning template. Resolve vendor/lock/reference mismatches before proceeding.

Complete CLI setup and verification before running the commands below.

Terminal window
npx @rtthemes/cli@latest kit --project /path/to/customer-project

The wizard asks you to select:

  1. A CMS from the supported prompt-target catalog, currently Sanity or EmDash.
  2. Content modules declared by the product.
  3. Whether shared settings should move into the CMS.
  4. How to handle existing content.
  5. Catalog versus real checkout, when a commerce-capable module is selected.

Use arrows and Enter for choices, and Space for multiple content modules. Review the summary before writing. Ctrl+C cancels. Unknown CMS targets are rejected; use the wizard to see the product’s actual module IDs.

For the NaturaLife Astro blog-only example, with local settings and existing content preserved:

Terminal window
npx @rtthemes/cli@latest kit --project /path/to/customer-project \
--cms sanity --content blog --settings no --migration preserve

Selecting a CMS prompt target does not install that CMS or imply a ready-integrated starter. NaturaLife Astro’s first release scope remains the plain local MDX/JSON starter; an integrated EmDash edition is outside that scope.

The default output is a new local Markdown file named CMS-INTEGRATION.<product-id>.<cms-id>.md. Existing files and symlinks are rejected; output must be a new .md file within the selected project and an existing directory. Keep generated briefs as local outputs, rather than maintained copies of the product reference.

The CLI makes no AI API call and sends no project content to an AI or CMS service. It does not require an AI account for generation. Give the English brief and your actual project to your chosen agent, then ask it to inspect files, clarify decisions and prepare a plan before making changes.

Review IDs/relationships, rich-text rendering, images/crops, drafts, URL redirects, settings and hosting requirements. A generated brief is not a successful migration, an automatic integration or a guarantee about a third-party service. See NaturaLife Astro CMS planning for product-specific boundaries.