CLI
This page is generated from command source files under src/cli/commands.
| Command | Description | Source |
|---|---|---|
add | Copy a Snapshot component and its source dependencies into your app | src/cli/commands/add.ts |
doctor | Diagnose Snapshot links, registry authentication, peers, and lockfile configuration | src/cli/commands/doctor.ts |
init | Scaffold a new Snapshot application | src/cli/commands/init.ts |
sync | Sync OpenAPI schema to TypeScript types and React Query hooks | src/cli/commands/sync.ts |