Thanks for taking the time to improve framer-cli.
npm install
npm run check-types
npm run buildThe project uses TypeScript and native ES modules. Source files live in src/; compiled output is written to dist/.
Use a local .env file for Framer credentials:
cp .env.example .envThen fill in your own Framer API key and project value. Do not commit .env.
Smoke-test the CLI:
node dist/index.js --help
node dist/index.js methods --pretty
node dist/index.js cms collections --prettyMutating commands require --allow-write. Please verify read commands first and use drafts for CMS content until you intentionally publish.
- Keep changes focused.
- Run
npm run check-typesandnpm run build. - Update
README.mdwhen user-facing behavior changes. - Avoid committing generated local files,
.env, or temporary Framer payloads.