The cms0 binary ships with @cms0/cms0.
It reads cms0.config.*, builds a schema descriptor from the configured entry file, writes generated descriptor files under .cms0, and publishes the schema when an API base URL is configured.
cms0 dev, cms0 watch, and cms0 build are the current public CLI modes.
cms0 dev
Use this while building locally.
pnpm exec cms0 devdev builds once, starts a browser descriptor sidecar, and watches the entry file for changes.
cms0 watch
Use this when you want the watcher behavior without treating it as the main dev command.
pnpm exec cms0 watchwatch builds once, starts the descriptor sidecar, and rebuilds when the entry file changes.
cms0 build
Use this in CI or before deploying.
pnpm exec cms0 buildbuild creates the bundled descriptor output and publishes it to the configured runtime.
Use a custom config file
pnpm exec cms0 build --config ./cms0.config.tsSuccess check
The command is working when it finds your config, resolves the entry file, and publishes the schema to the runtime shown by CMS0_API_BASE_URL.