Toucan CLI

The complete public interface for setup, CSS compilation, source ownership, and diagnostics.

Install once

bash
pnpm add -D @toucan-ui/cli

pnpm is the project default, not a consumer requirement. Use pnpm exec toucanor the equivalent npx toucan commands below.

Commands

CommandPurpose
toucan initCreate or update toucan.config.json.
toucan buildCompile token and responsive CSS locally.
toucan ejectCopy editable component groups into the app.
toucan infoPrint the resolved build configuration.
toucan doctorValidate tokens, styles, React, and local source.

Built-in help

bash
toucan --help
toucan help eject
toucan build --help

Unknown commands and options fail instead of being silently ignored.