Schema Management via CLI
The Decoupla CLI automates your backend infrastructure. Instead of manually creating content types in a UI, you use the CLI to push your TypeScript definitions to the cloud.
| Command | Description |
|---|---|
npx decoupla sync |
Standard Sync: Compares local config with the live workspace and applies changes. |
npx decoupla sync --dry |
Preview: Lists proposed additions or updates without modifying the content types. |
npx decoupla sync |
Validate your schema definitions. |
Running sync will automatically create missing content types, add new fields, and update properties like required or references to match your code.