Developers · Roadmap

CLI / project setup

Scaffold a site with @macrocontent/create-macro — interactive wizard, account login, or store component add.

Status
Published on npm as @macrocontent/create-macro. Prefer pnpm dlx so you always get the latest CLI. Commands: init, login, logout, add.

Account login (library)

terminalbash
pnpm dlx @macrocontent/create-macro login

Opens Dashboard /cli-login, stores credentials under ~/.config/macro/credentials.json. Separate from init setup sessions.

Add a Store component (source)

terminalbash
pnpm dlx @macrocontent/create-macro add @macro/free-section

Requires a library entitlement with source download. Hosted-only offers stay Dashboard Assign. Writes under macro-components/<slug>/ and prints project-slot host markup when needed.

Human init

terminalbash
pnpm dlx @macrocontent/create-macro init

Creates a short-lived setup session, opens the Dashboard wizard (/setup?session=…), then writes macro.config.js and installs SDK/overlay.

Agent / CI init

terminalbash
pnpm dlx @macrocontent/create-macro init --yes --stack=vite --overlay --json

Useful flags: --offline, --force, --skip-install, --prerender, --session=<id>.

From the Dashboard

Website overview → Setup SDK widget → copy a linked CLI command (session already completed with that site’s public key).