Commit Graph
3 Commits
Author SHA1 Message Date
Zhengshou Lai 929d808b3e fix(chat): remove --cwd from Click options to allow optional value parsing
--cwd was defined as a Click option but also parsed manually from ctx.args,
which caused conflicts when --cwd was followed by another flag (like
--dangerously-skip-permissions). Now --cwd is parsed entirely manually,
allowing:
  --cwd alone -> use current directory
  --cwd /path -> use specified path
  (none)      -> use myclaude project root (default)
2026-04-13 09:09:53 +08:00
Zhengshou Lai 250e3dd096 feat(chat): --cwd 支持可选值,缺省为当前目录
使 --cwd 选项支持无值调用:
- --cwd 单独使用 → 默认为当前目录 "."
- --cwd /path → 使用指定路径
- --cwd=. / -C. → 等号或短选项语法

修复:--cwd 后接其他 flag 时被误认为值的歧义问题。
2026-04-13 09:02:16 +08:00
Zhengshou Lai 5ecf737de6 renaming from mybot to myclaude 2026-04-06 14:04:11 +08:00