claude-prism 0.2.0 ā 0.2.1
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/bin/cli.mjs +10 -0
- package/package.json +1 -1
package/bin/cli.mjs
CHANGED
|
@@ -146,6 +146,15 @@ switch (command) {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
case 'update': {
|
|
149
|
+
if (hasFlag('global')) {
|
|
150
|
+
console.log('š claude-prism update --global\n');
|
|
151
|
+
initGlobal();
|
|
152
|
+
console.log('ā
Global commands updated');
|
|
153
|
+
console.log('ā
OMC skill updated');
|
|
154
|
+
console.log('\nš Global prism updated to latest.');
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
|
|
149
158
|
console.log('š claude-prism update\n');
|
|
150
159
|
await update(cwd);
|
|
151
160
|
console.log('ā
Rules updated');
|
|
@@ -166,6 +175,7 @@ Usage:
|
|
|
166
175
|
prism stats Show installation summary
|
|
167
176
|
prism reset Clear hook state (edit counters, etc.)
|
|
168
177
|
prism update Re-install using current config
|
|
178
|
+
prism update --global Update global commands + OMC skill
|
|
169
179
|
prism uninstall Remove prism from current project
|
|
170
180
|
prism uninstall --global Remove global commands + OMC skill
|
|
171
181
|
|