@idia-ui/cli
v0.2.4
Published
idia-ui CLI — doctor, brain add-on, and sync for consumer apps
Readme
@idia-ui/cli
Doctor and add-on management for idia consumer apps (idia-ui binary).
Monorepo usage
From the repo root, pass an absolute --cwd when invoking via pnpm --filter:
pnpm --filter @idia-ui/cli build
pnpm --filter @idia-ui/cli exec idia-ui doctor --cwd C:\path\to\apps\consumer-sandbox
pnpm --filter @idia-ui/cli exec idia-ui add storybook --cwd C:\path\to\apps\consumer-sandboxpnpm exec runs from the package directory by default; --cwd must point at the consumer app root (where package.json and .idia/manifest.json live), not the monorepo root.
Commands
| Command | Purpose |
|---------|---------|
| idia-ui doctor | Health checks (peers, manifest, navigation, optional --full for Storybook/brain) |
| idia-ui add storybook | Install Storybook docs pack + preset |
| idia-ui add brain | Install brain AI pack (Tier 1G experimental) |
| idia-ui sync <storybook\|brain\|all> | Align pack versions and manifest pins |
Flags
| Flag | Behavior |
|------|----------|
| --cwd <path> | App root (default: process.cwd()) |
| --full | Include Storybook (S*) and brain (B*) checks |
| --strict | Treat warnings as failures (exit 1) |
| --fix | Limited safe repairs (manifest regenerate) |
| --json | Machine-readable output |
