CLI reference
v0.2The disenio CLI is the only runtime piece of the toolkit. Everything else is source code in your repo.
Run anywhere
The CLI runs via npx /pnpm dlx /bunx. You don't need to install it as a project dependency.
# pick a manager
pnpm dlx disenio add button input
npx disenio add button input
bunx disenio add button inputCommands
disenio initInitialize the toolkit in your project. Writes disenio.json, drops the cn util, sets up the theme stylesheet.
disenio add <component...>Copy one or more components into your repo. Pass --overwrite to replace existing files.
disenio theme apply <file.css>Apply an exported theme file (from /docs/theming). Overwrites your active theme.css.
disenio theme exportPrint your current theme tokens to stdout. Useful for committing theme snapshots.
disenio diff [id...]Compare local copies against upstream + your lockfile. Classifies each file as in-sync, local-edit, upstream-update, or both.
disenio update [id...]Pull the latest upstream into your repo. Refuses to clobber locally-edited files unless --force is passed.