CLI Reference
The CSEdge CLI is the primary mechanism for extending your portfolio. It manages templates, UI primitive injection, and system health checks.
Commands
init
Initializes the base architecture in an empty directory. Setting up the layout system and configuration layer.
npx @csedge-foundry/ui@latest initadd template [name]
Injects a full page layout or application template directly into your source code. You own the code completely.
npx @csedge-foundry/ui@latest add template minimaladd ui [name]
Pulls native, styling-independent UI primitives (e.g., Grid, Button, Accordion) into your local components folder.
npx @csedge-foundry/ui@latest add ui buttondoctor
Audits your current project structurally to verify it aligns with the devkit required specifications, pointing out divergent constraints.
npx @csedge-foundry/ui@latest doctor