@menestrel/cli
v0.1.1
Published
Menestrel CLI: init, sync your schema, import an existing Astro site, export everything back
Readme
@menestrel/cli
Command line for Menestrel, the CMS built for Astro sites.
npm install -D @menestrel/cli
npx menestrel --helpCommands
| Command | What it does |
|---|---|
| menestrel init | Wire an existing Astro project to Menestrel (config, env, token check) |
| menestrel sync | Push your cms.config.ts schema to the server (append-only migrations, a dry-run diff first) |
| menestrel import | Import existing content collections (markdown/JSON) with frontmatter mapping and image upload. Idempotent: safe to re-run, resumes where it stopped |
| menestrel export | Export all content as markdown + JSON, plus media. Your data is never captive |
| menestrel pull | Download the latest published snapshot for offline builds (MENESTREL_OFFLINE=1) |
Exit codes are documented in the CLI reference: docs.menestrel.dev.
License
MIT
