Skip to content
CMS Orbit

The CMS Orbit CLI

npx cms-orbit now covers what developers do outside the editor, signed in as you with your own role's permissions.

  • Sign in once: cms-orbit login opens your browser, and the command line works as you until you sign out. Every change is in the audit trail with your name. cms-orbit user shows who you are signed in as.
  • Schema as code: cms-orbit schema init writes your content types and components as TypeScript files. validate, diff and push check and apply changes after showing them, refuse to drop fields that hold content, and keep a snapshot so rollback can undo a push. components pull and push work on components alone.
  • Content, media and taxonomies: content find, pull, push and validate move entries to and from JSON files as drafts, and report conflicts instead of overwriting someone else's change. media and taxonomies do the same for files and terms.
  • Migrations: cms-orbit migrations generate writes a typed script that changes existing content, such as renaming a field on every Trip cards component. run --dry-run shows the change for each entry first, and rollback puts the drafts back.
  • Start a project: cms-orbit project create sets up one of our starters, from Next.js to Laravel, already connected to your space.
  • Types and languages: types generate writes types for TypeScript, PHP, Swift or Kotlin, also from local schema files, and languages pull lists your regions and languages.

cms-orbit logs and cms-orbit reports show what the command line changed. See CMS Orbit CLI.