@kira-kit/cli
v0.1.0
Published
CLI tool for adding Kira Kit components to your project
Maintainers
Readme
Kira Kit CLI
CLI tool for adding Kira Kit components to your React project.
Installation
# Global install
npm install -g @kira-kit/cli
# Or use with npx
npx @kira-kit/cli add buttonUsage
Initialize
Initialize Kira Kit in your project with interactive color selection:
kira-kit initOptions:
--base-color <color>- Base color (slate, gray, zinc, neutral, stone)--primary-color <color>- Primary color (blue, green, orange, pink, purple, red, violet, yellow)--cwd <directory>- Working directory-y, --yes- Skip prompts and use defaults
Add Components
Add one or more components to your project:
# Add single component
kira-kit add button
# Add multiple components
kira-kit add button card dialog
# Add all components
kira-kit add --allOptions:
--cwd <directory>- Working directory-o, --overwrite- Overwrite existing files-y, --yes- Skip prompts
Build Registry
Build registry JSON files (used for distribution):
kira-kit buildList Components
List all available components:
kira-kit listExamples
# Initialize with specific colors
kira-kit init --base-color neutral --primary-color blue
# Add components
kira-kit add button checkbox input --overwrite
# List available components
kira-kit listRequirements
- Node.js 18+
- Bun (recommended) or npm/pnpm/yarn
License
MIT
