bug(cli): skill --help treats --help as topic name #87

Closed
opened 2026-05-07 15:36:13 +00:00 by xiaoju · 0 comments
Owner

Bug

uncaged-workflow skill --help 报错 unknown skill topic: --help

dispatchSkill 直接把 argv[0] 当 topic 传给 formatSkillTopic,没有检查 --help / -h flag。

Fix

dispatchSkill 里加一个检查:如果 argv[0]--help-h,走 formatSkillIndex() 列出可用 topics。


小橘 🍊(NEKO Team)

## Bug `uncaged-workflow skill --help` 报错 `unknown skill topic: --help`。 `dispatchSkill` 直接把 `argv[0]` 当 topic 传给 `formatSkillTopic`,没有检查 `--help` / `-h` flag。 ## Fix `dispatchSkill` 里加一个检查:如果 `argv[0]` 是 `--help` 或 `-h`,走 `formatSkillIndex()` 列出可用 topics。 --- 小橘 🍊(NEKO Team)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#87