Getting started
Installation
Add @clily/core and your preferred Standard Schema library.
Requirements
- Node.js 22.12 or newer for monorepo development
- A Standard Schema-compatible validation library such as Valibot, Zod, or ArkType
If you are working inside this monorepo, use the Vite+ wrapper commands documented in the repository.
Install the package
vp add @clily/core valibotYou can swap valibot for zod or arktype depending on your preferred schema authoring style.
What gets installed
@clily/corefor command definition, config loading, prompts, help, completions, and runtime handling- your schema library for validation and type inference
Recommended next step
Go straight to first command and build a command with:
- one global flag
- one child command
- completion generation enabled
That is enough to understand the core architecture.