The CLI
Every design command.
| Command | What it does |
|---|---|
login · logout · whoami · use <url> | Sign in with your Sypnia account (device flow) or point at your engine |
init | Start Design in a repository: --logo, --from guide.md, --components src/design, --framework next|vite|astro, --yes |
guide show|versions | The guide and its versions |
tokens build|lint | Build tokens.css from tokens.json; check values and contrast |
icons new <name>|check|ls | Draw a new icon from the rules, check the set |
components generate|status|diff | Generate pieces, see which are edited or out of date |
gallery [--port 4520] | Serve the gallery on your machine |
screens new <case>|ls|render <case> | Screen files and their pictures |
screens approve <case> | Approve a screen (a person’s session only) |
check [--fix] [--renders local|cloud|off] | The check |
propose | Turn your local changes to the guide into a proposal |
proposals ls|show|approve|reject | Review proposals (approving needs a person’s session) |
export --pdf [--print] · export --assets | The guide as PDF; the brand kit as a zip |
pull · push | Sync with the project in Sypnia Cloud |
--json works on every command. SYPNIA_DESIGN_TOKEN or --token uses a token instead of your session; tokens can never approve.