npm.io
0.3.1 • Published 2d agoCLI

@thebookingkit/cli

Licence
MIT
Version
0.3.1
Deps
1
Size
101 kB
Vulns
0
Weekly
19

@thebookingkit/cli

CLI for scaffolding UI components and managing migrations in Booking Kit projects.

npm version License: MIT TypeScript

Part of The Booking Kit — The Headless Booking Primitive.

Install

npm install -g @thebookingkit/cli
# or run directly
npx @thebookingkit/cli

Quick Start

# Initialize a new project with config and env template
thebookingkit init

# Add a UI component (shadcn/ui convention — you own the source)
thebookingkit add calendar-view

# List all available components
thebookingkit list

# Run pending database migrations
thebookingkit migrate

Key Features

  • Component Registry — Browse and add from 21+ React components and hooks
  • Dependency Resolution — Automatically adds required component dependencies
  • Project Init — Generates slotkit.config.ts and .env template
  • Migration Management — Parse, list pending, and run database migrations
  • Manifest Tracking — Tracks added components and detects local modifications
  • Copy-Paste Convention — Components are copied into your project; you own and customize the source

Documentation

Full Documentation

License

MIT

Keywords