aihezu 1.3.0 → 1.3.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/aihezu.js +6 -6
- package/package.json +1 -1
package/bin/aihezu.js
CHANGED
|
@@ -13,12 +13,12 @@ function showHelp() {
|
|
|
13
13
|
console.log('使用方法:');
|
|
14
14
|
console.log(' npx aihezu <command>\n');
|
|
15
15
|
console.log('可用命令:');
|
|
16
|
-
console.log('
|
|
17
|
-
console.log('
|
|
16
|
+
console.log(' ccinstall 配置 Claude Code API Key');
|
|
17
|
+
console.log(' ccclear 清理 Claude Code 缓存和配置');
|
|
18
18
|
console.log(' help 显示帮助信息\n');
|
|
19
19
|
console.log('示例:');
|
|
20
|
-
console.log(' npx aihezu
|
|
21
|
-
console.log(' npx aihezu
|
|
20
|
+
console.log(' npx aihezu ccinstall # 配置 API Key');
|
|
21
|
+
console.log(' npx aihezu ccclear # 清理缓存');
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// 执行子命令
|
|
@@ -42,11 +42,11 @@ function runCommand(scriptName) {
|
|
|
42
42
|
|
|
43
43
|
// 路由命令
|
|
44
44
|
switch (command) {
|
|
45
|
-
case '
|
|
45
|
+
case 'ccinstall':
|
|
46
46
|
runCommand('ccinstall.js');
|
|
47
47
|
break;
|
|
48
48
|
|
|
49
|
-
case '
|
|
49
|
+
case 'ccclear':
|
|
50
50
|
runCommand('ccclear.js');
|
|
51
51
|
break;
|
|
52
52
|
|