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 loginopens 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 usershows who you are signed in as. - Schema as code:
cms-orbit schema initwrites your content types and components as TypeScript files.validate,diffandpushcheck and apply changes after showing them, refuse to drop fields that hold content, and keep a snapshot sorollbackcan undo a push.components pullandpushwork on components alone. - Content, media and taxonomies:
content find,pull,pushandvalidatemove entries to and from JSON files as drafts, and report conflicts instead of overwriting someone else's change.mediaandtaxonomiesdo the same for files and terms. - Migrations:
cms-orbit migrations generatewrites a typed script that changes existing content, such as renaming a field on every Trip cards component.run --dry-runshows the change for each entry first, androllbackputs the drafts back. - Start a project:
cms-orbit project createsets up one of our starters, from Next.js to Laravel, already connected to your space. - Types and languages:
types generatewrites types for TypeScript, PHP, Swift or Kotlin, also from local schema files, andlanguages pulllists your regions and languages.
cms-orbit logs and cms-orbit reports show what the command line changed. See CMS Orbit CLI.