Dollie Editor SDK guide
CLI
Current Dollie Editor command reference.
Run commands through the locally installed package:
npx dollie-editor <command>
| Command | Purpose |
|---|---|
info [--json] |
Inspect the project and discovered catalogs |
add <package> |
Install a catalog package and rediscover catalogs |
discover |
Regenerate the discovered catalog module |
fields <path> |
Generate fields for one component |
fields --dir <dir> --out <file> |
Generate a catalog fields module |
build |
Build configured registry items |
export |
Export a page template |
import |
Import and validate a page template |
Export a Page Template
npx dollie-editor export \
--page page.json \
--id product-launch \
--name "Product launch" \
--description "A focused launch page" \
--out templates/product-launch.json
--page accepts a bare PageConfig or a BuilderDocument containing definition. --vertical adds optional descriptive metadata. Without --out, the template JSON is written to standard output.
Check or import a Page Template
npx dollie-editor import \
--template templates/product-launch.json \
--manifest public/editor-manifest.json \
--check
The command exits with status 1 when the active manifest cannot satisfy the template. Add --json for a machine-readable compatibility report.
To write the validated Page definition:
npx dollie-editor import \
--template templates/product-launch.json \
--manifest public/editor-manifest.json \
--out page.json
--partial drops missing Sections and Element references. Use it only when that data loss is intentional.
The current CLI does not provide an init command. The recommended onboarding path uses the official skill and current package commands instead of documenting planned CLI behavior as available.