feat(update): 实现多镜像源自更新机制 (update/upgrade) 并升级版本至 v0.2.1
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
This commit is contained in:
1 parent
6e73de697b
commit
2dfcf67b00
12 files changed
+1021
-9
No files matched your search
+6
-1
@@ -10,6 +10,7 @@ import { handlePlatformCommand } from "./commands/platform.js";
|
||||
import { handleSkillCommand } from "./commands/skill.js";
|
||||
import { handleProbeCommand } from "./commands/probe.js";
|
||||
import { handleMcpCommand } from "./commands/mcp.js";
|
||||
import { handleUpdateCommand } from "./commands/update.js";
|
||||
import type { CliResult, CliRunOptions } from "./types.js";
|
||||
|
||||
export async function runCli(
|
||||
@@ -62,9 +63,13 @@ export async function runCli(
|
||||
case "skills":
|
||||
return await handleSkillCommand(parsed, runtime);
|
||||
case "probe":
|
||||
case "check":
|
||||
case "diagnose":
|
||||
return await handleProbeCommand(parsed, runtime);
|
||||
case "update":
|
||||
case "upgrade":
|
||||
case "self-update":
|
||||
case "changelog":
|
||||
return await handleUpdateCommand(parsed, runtime, options);
|
||||
case "mcp":
|
||||
case "serve":
|
||||
return await handleMcpCommand(parsed, options);
|
||||
|
||||
Reference in new issue
Block a user