claudekit-cli 1.13.0 → 1.14.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 +75 -0
- package/bin/ck-darwin-arm64 +0 -0
- package/bin/ck-darwin-x64 +0 -0
- package/bin/ck-linux-x64 +0 -0
- package/bin/ck-win32-x64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,6 +95,28 @@ ck new
|
|
|
95
95
|
ck new --opencode --gemini
|
|
96
96
|
ck new --opencode
|
|
97
97
|
ck new --gemini
|
|
98
|
+
|
|
99
|
+
# With /ck: prefix for slash commands
|
|
100
|
+
ck new --prefix # All commands will be prefixed with /ck:
|
|
101
|
+
ck new --prefix --kit engineer
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Command Prefix (`--prefix` flag):**
|
|
105
|
+
|
|
106
|
+
The `--prefix` flag reorganizes slash commands to use a `/ck:` namespace, moving all commands from `.claude/commands/*` to `.claude/commands/ck/*`.
|
|
107
|
+
|
|
108
|
+
**Benefits:**
|
|
109
|
+
- Namespace all ClaudeKit commands under `/ck:` (e.g., `/ck:plan`, `/ck:fix`, `/ck:cook`)
|
|
110
|
+
- Avoid conflicts with user's custom commands or other tools
|
|
111
|
+
- Cleaner command organization
|
|
112
|
+
|
|
113
|
+
**Example:**
|
|
114
|
+
```bash
|
|
115
|
+
# Without --prefix
|
|
116
|
+
/plan, /fix, /cook
|
|
117
|
+
|
|
118
|
+
# With --prefix
|
|
119
|
+
/ck:plan, /ck:fix, /ck:cook
|
|
98
120
|
```
|
|
99
121
|
|
|
100
122
|
### Initialize or Update Project
|
|
@@ -120,10 +142,44 @@ ck init --exclude "local-config/**" --exclude "*.local"
|
|
|
120
142
|
ck init --global
|
|
121
143
|
ck init -g --kit engineer
|
|
122
144
|
|
|
145
|
+
# Fresh installation - completely remove .claude directory before downloading
|
|
146
|
+
# ⚠️ WARNING: This will permanently delete ALL custom files and configurations!
|
|
147
|
+
ck init --fresh
|
|
148
|
+
ck init --fresh --global # Fresh install in global mode
|
|
149
|
+
|
|
150
|
+
# With /ck: prefix for slash commands
|
|
151
|
+
ck init --prefix # All commands will be prefixed with /ck:
|
|
152
|
+
ck init --prefix --global
|
|
153
|
+
|
|
123
154
|
# Legacy (deprecated - use 'init' instead)
|
|
124
155
|
ck update # Shows deprecation warning
|
|
125
156
|
```
|
|
126
157
|
|
|
158
|
+
**Fresh Installation (`--fresh` flag):**
|
|
159
|
+
|
|
160
|
+
⚠️ **WARNING: DESTRUCTIVE OPERATION**
|
|
161
|
+
|
|
162
|
+
The `--fresh` flag completely removes your `.claude` directory before downloading a new version. This is useful when:
|
|
163
|
+
- You want a completely clean installation
|
|
164
|
+
- You're experiencing corruption or configuration issues
|
|
165
|
+
- You want to reset to default settings
|
|
166
|
+
|
|
167
|
+
**What happens:**
|
|
168
|
+
1. Shows confirmation prompt with full path to be deleted
|
|
169
|
+
2. Requires typing "yes" to confirm
|
|
170
|
+
3. Completely removes the `.claude` directory (or global directory with `--global`)
|
|
171
|
+
4. Permanently deletes ALL custom files, configurations, and modifications
|
|
172
|
+
5. Downloads and installs fresh version
|
|
173
|
+
|
|
174
|
+
**⚠️ Use with extreme caution:** All customizations will be lost. Back up any custom files before using this flag.
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
# Fresh installation examples
|
|
178
|
+
ck init --fresh # Remove local .claude directory
|
|
179
|
+
ck init --fresh --global # Remove global ~/.claude directory
|
|
180
|
+
ck init --fresh --kit engineer # Fresh install specific kit
|
|
181
|
+
```
|
|
182
|
+
|
|
127
183
|
**Global vs Local Configuration:**
|
|
128
184
|
|
|
129
185
|
By default, ClaudeKit will be installed in the current directory (`.claude` directory), or we used to call it project-scoped.
|
|
@@ -195,6 +251,25 @@ ck diagnose --verbose # Detailed diagnostics
|
|
|
195
251
|
- Manual installation instructions provided as fallback
|
|
196
252
|
- No automatic installation in CI/CD environments
|
|
197
253
|
|
|
254
|
+
### Uninstall
|
|
255
|
+
|
|
256
|
+
Remove ClaudeKit installations from your system:
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
ck uninstall # Interactive mode - prompts for confirmation
|
|
260
|
+
ck uninstall --yes # Non-interactive - skip confirmation (for scripts)
|
|
261
|
+
ck uninstall -y # Short flag
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
**What it does:**
|
|
265
|
+
- Detects local `.claude` directory in current project
|
|
266
|
+
- Detects global `~/.claude` ClaudeKit installation
|
|
267
|
+
- Shows paths before deletion
|
|
268
|
+
- Requires confirmation (unless `--yes` flag)
|
|
269
|
+
- Safely removes detected installations
|
|
270
|
+
|
|
271
|
+
**Note:** Only removes valid ClaudeKit installations (with metadata.json). Regular `.claude` directories from Claude Desktop are not affected.
|
|
272
|
+
|
|
198
273
|
### Other Commands
|
|
199
274
|
|
|
200
275
|
```bash
|
package/bin/ck-darwin-arm64
CHANGED
|
Binary file
|
package/bin/ck-darwin-x64
CHANGED
|
Binary file
|
package/bin/ck-linux-x64
CHANGED
|
Binary file
|
package/bin/ck-win32-x64.exe
CHANGED
|
Binary file
|