release: v1.0.55 SKILL description for routing, CLI mapping table, when-to-use cleanup
All checks were successful
技能自动化发布 / release (push) Successful in 30s
All checks were successful
技能自动化发布 / release (push) Successful in 30s
This commit is contained in:
@@ -2,6 +2,20 @@
|
||||
|
||||
将 `{baseDir}` 替换为技能根目录。所有命令通过 `python {baseDir}/scripts/main.py` 调用(工作目录可为技能根或 `scripts/`,与命令中的路径一致即可)。下文示例简写为 `python main.py` 表示在 `scripts/` 下执行。
|
||||
|
||||
## 子命令与实现(与代码一致)
|
||||
|
||||
| CLI(`main.py` 第一参或等价路由) | 实现(`scripts/service/`) |
|
||||
|----------------------------------|---------------------------|
|
||||
| `add` | `account_service.cmd_add` |
|
||||
| `list`;或首参为平台且 `list`/单参 | `account_service.cmd_list`(路由见 `cli/app.py`) |
|
||||
| `get` | `account_service.cmd_get` |
|
||||
| `list-json` | `account_service.cmd_list_json` |
|
||||
| `pick-web` | `account_service.cmd_pick_web` |
|
||||
| `open` | `browser_service.cmd_open` |
|
||||
| `delete` | `account_service.cmd_delete_by_id` / `cmd_delete_by_platform` / `cmd_delete_by_platform_phone` |
|
||||
|
||||
入口:`scripts/main.py` → `cli/app.py` → 上表。
|
||||
|
||||
## 通用说明
|
||||
|
||||
- **平台参数**:可为 `scripts/util/platforms.py` 中配置的**中文展示名、别名或英文键**(如 `sohu`、`搜狐号`)。详见 [PLATFORMS.md](PLATFORMS.md)。
|
||||
|
||||
Reference in New Issue
Block a user