You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datocms schema:inspect [filter] — inspect DatoCMS models and modular blocks from the CLI. Supports filtering by API key/ID/display name (with fuzzy fallback), narrowing to models or blocks only, and selective inclusion of validators, appearance, default values, fieldsets, nested blocks, referenced models, and embedding models. Defaults to TOON output (compact, agent-friendly); pass --json for JSON piped to jq.
Improvements
cma:script validation — reject as never casts and @ts-ignore / @ts-expect-error / @ts-nocheck directives in addition to any / unknown, so the sandbox can't be bypassed. Validation errors now list every blocked pattern (including the active import allowlist) to make the rules discoverable.
cma:script output — drop progress spinners in stdin-mode. On TypeScript validation failure, point users to datocms cma:docs for client usage help.