toucan init

Create the canonical project configuration and print the next commands.

bash
pnpm exec toucan init

Options

text
--out <path>      Toucan output directory
--reset           Include Toucan reset CSS
--yes, -y         Use defaults without prompts
--no-interactive  Disable prompts
--help, -h        Show command help

What it writes

JSON configs are created or normalised to the supported tokens, outDir, and reset fields. JavaScript and TypeScript configs are detected but left for you to edit.

toucan.config.json
{
  "outDir": "./components/toucan",
  "reset": false
}