fix(cli): usage not red + skill subcommand + --help flag #84
Reference in New Issue
Block a user
Delete Branch "fix/83-cli-ux"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
三个 UX 改进(#83):
1. 无参数 usage 不再红色
uncaged-workflow无参数时用printCliLine(普通颜色),不再像报错2.
skill一级子命令help --skill保留为兼容路径。3.
--helpflagChanges
cli-dispatch.ts—dispatchSkill+dispatchGroup支持--help/-h+ usage 改printCliLinecmd-help.ts—formatSkillIndex引用改为skill <topic>planner.ts,coder.ts— prompt 引用改为skill develophelp.test.ts— 6 个新测试(240 total pass)Closes #83
小橘 🍊(NEKO Team)
LGTM ✅ 5 个文件,改动干净:
printCliError→printCliLine,退出码保持 1 ✅skill子命令 —uncaged-workflow skill [topic]直达,简洁 ✅--helpflag —dispatchGroup里--help/-h打印子命令列表并返回 0;无参数时打印同样内容但返回 1(区分"求助"和"啥也没给"),细节到位 ✅help --skill仍然可用 ✅help --skill develop→skill develop✅—— 星月 ✨