@slake-dev/cli
v1.2.0
Published
CLI for Slake — set up collaborative design review on your React app in one command.
Downloads
817
Readme
@slake-dev/cli
CLI for Slake — set up collaborative design review on your React app in one command.
Install
npm install -D @slake-dev/cliCommands
init
Add Slake to your React project. Auto-detects your framework (Next.js, Vite, CRA), installs dependencies, and sets up MCP integration if a compatible client is detected.
npx @slake-dev/cli initmcp
Set up MCP integration for AI agents. Detects MCP clients (Claude Code, Cursor), installs @slake-dev/mcp, and writes the appropriate config file (.mcp.json, .cursor/mcp.json).
npx @slake-dev/cli mcpRun this after init if you skipped MCP setup, or to reconfigure later.
check
Verify Slake is correctly set up in your project.
npx @slake-dev/cli checkci
Set up a GitHub Actions workflow for Slake.
npx @slake-dev/cli ciinject
Inject Slake into pre-built HTML files (for CI/preview deployments).
npx @slake-dev/cli inject --dir ./dist