kira-kit 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,87 @@
1
+ # Kira Kit CLI
2
+
3
+ CLI tool for adding Kira Kit components to your React project.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ # Global install
9
+ npm install -g kira-kit
10
+
11
+ # Or use with npx
12
+ npx kira-kit add button
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ### Initialize
18
+
19
+ Initialize Kira Kit in your project with interactive color selection:
20
+
21
+ ```bash
22
+ kira-kit init
23
+ ```
24
+
25
+ Options:
26
+ - `--base-color <color>` - Base color (slate, gray, zinc, neutral, stone)
27
+ - `--primary-color <color>` - Primary color (blue, green, orange, pink, purple, red, violet, yellow)
28
+ - `--cwd <directory>` - Working directory
29
+ - `-y, --yes` - Skip prompts and use defaults
30
+
31
+ ### Add Components
32
+
33
+ Add one or more components to your project:
34
+
35
+ ```bash
36
+ # Add single component
37
+ kira-kit add button
38
+
39
+ # Add multiple components
40
+ kira-kit add button card dialog
41
+
42
+ # Add all components
43
+ kira-kit add --all
44
+ ```
45
+
46
+ Options:
47
+ - `--cwd <directory>` - Working directory
48
+ - `-o, --overwrite` - Overwrite existing files
49
+ - `-y, --yes` - Skip prompts
50
+
51
+ ### Build Registry
52
+
53
+ Build registry JSON files (used for distribution):
54
+
55
+ ```bash
56
+ kira-kit build
57
+ ```
58
+
59
+ ### List Components
60
+
61
+ List all available components:
62
+
63
+ ```bash
64
+ kira-kit list
65
+ ```
66
+
67
+ ## Examples
68
+
69
+ ```bash
70
+ # Initialize with specific colors
71
+ kira-kit init --base-color neutral --primary-color blue
72
+
73
+ # Add components
74
+ kira-kit add button checkbox input --overwrite
75
+
76
+ # List available components
77
+ kira-kit list
78
+ ```
79
+
80
+ ## Requirements
81
+
82
+ - Node.js 18+
83
+ - Bun (recommended) or npm/pnpm/yarn
84
+
85
+ ## License
86
+
87
+ MIT