cli: magpie --help lists plugin move|migrate and move-back|unmigrate (记得把整套迁移逻辑做得丝滑优雅精致优美简单方便易用) — the commands existed but only magpie plugin help named them, and without their other names. go build -tags nogui passes.

This commit is contained in:
yetone committed 2026-10-01 11:15:24 +08:00
1 parent 77c2ad12fa
commit f9e5c8dfe6
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -22,8 +22,8 @@ const pluginUsage = `usage: magpie plugin [list] [--json]
magpie plugin on|off <name> turn one on or off
magpie plugin login <provider> [<method>] sign in to a provider a plugin adds
magpie plugin logout <provider> forget the sign-in
magpie plugin move <subscription> run a built-in subscription's accounts on its community plugin
magpie plugin move-back <subscription> go back to the built-in`
magpie plugin move|migrate <subscription> run a built-in subscription's accounts on its community plugin
magpie plugin move-back|unmigrate <subscription> go back to the built-in, with its accounts`
// pluginCmd: `magpie plugin …` — OpenCode's provider plugins, which sign in
// to a subscription and carry its requests (internal/plugin).