@simonyea/holysheep-cli 1.7.25 → 1.7.26
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/package.json +1 -1
- package/src/index.js +17 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simonyea/holysheep-cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.26",
|
|
4
4
|
"description": "Claude Code/Cursor/Cline API relay for China — ¥1=$1, WeChat/Alipay payment, no credit card, no VPN. One command setup for all AI coding tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openai-china",
|
package/src/index.js
CHANGED
|
@@ -181,22 +181,21 @@ program
|
|
|
181
181
|
process.exit(code)
|
|
182
182
|
})
|
|
183
183
|
|
|
184
|
-
// 默认:无命令时显示帮助 + 提示 setup
|
|
185
|
-
program
|
|
186
|
-
.action(() => {
|
|
187
|
-
printBanner()
|
|
188
|
-
console.log()
|
|
189
|
-
console.log(chalk.cyan('快速开始:'))
|
|
190
|
-
console.log(` ${chalk.bold('hs login')} 登录并保存 API Key`)
|
|
191
|
-
console.log(` ${chalk.bold('hs setup')} 一键配置所有 AI 工具`)
|
|
192
|
-
console.log(` ${chalk.bold('hs whoami')} 查看当前登录状态`)
|
|
193
|
-
console.log(` ${chalk.bold('hs doctor')} 检查配置状态`)
|
|
194
|
-
console.log(` ${chalk.bold('hs balance')} 查看账户余额`)
|
|
195
|
-
console.log(` ${chalk.bold('hs upgrade')} 升级 Claude Code / Codex / Gemini CLI`)
|
|
196
|
-
console.log(` ${chalk.bold('hs tools')} 查看支持的工具列表`)
|
|
197
|
-
console.log()
|
|
198
|
-
console.log(chalk.gray(`注册账号: https://holysheep.ai`))
|
|
199
|
-
console.log()
|
|
200
|
-
})
|
|
201
|
-
|
|
202
184
|
program.parse(process.argv)
|
|
185
|
+
|
|
186
|
+
// 默认:无子命令时显示帮助 + 提示 setup
|
|
187
|
+
if (process.argv.slice(2).length === 0) {
|
|
188
|
+
printBanner()
|
|
189
|
+
console.log()
|
|
190
|
+
console.log(chalk.cyan('快速开始:'))
|
|
191
|
+
console.log(` ${chalk.bold('hs login')} 登录并保存 API Key`)
|
|
192
|
+
console.log(` ${chalk.bold('hs setup')} 一键配置所有 AI 工具`)
|
|
193
|
+
console.log(` ${chalk.bold('hs whoami')} 查看当前登录状态`)
|
|
194
|
+
console.log(` ${chalk.bold('hs doctor')} 检查配置状态`)
|
|
195
|
+
console.log(` ${chalk.bold('hs balance')} 查看账户余额`)
|
|
196
|
+
console.log(` ${chalk.bold('hs upgrade')} 升级 Claude Code / Codex / Gemini CLI`)
|
|
197
|
+
console.log(` ${chalk.bold('hs tools')} 查看支持的工具列表`)
|
|
198
|
+
console.log()
|
|
199
|
+
console.log(chalk.gray(`注册账号: https://holysheep.ai`))
|
|
200
|
+
console.log()
|
|
201
|
+
}
|