文档与路由修正摘要 | AI生成和翻译
一切正常。以下是问题摘要及修复内容:
发现的问题(文档问题,非代码缺陷):
-
ww image screenshot与顶层命令ww screenshot重复 — 相同模块、相同功能。根据您对顶层命令的偏好,image screenshot路径已冗余。 -
ww image screenshot-linux没有顶层快捷方式,但应添加一个(ww screenshot-linux)。 -
帮助文本中提到
--delay(暗示为标志参数),但代码中将其作为位置参数[DELAY]使用。
所做修改:
- main.py 帮助文本:从 Image 部分移除
ww image screenshot和ww image screenshot-linux。在 Screenshot 部分添加ww screenshot-linux。 - main.py 路由:从
image组处理器中移除screenshot和screenshot-linux。添加顶层screenshot-linux路由(位于现有screenshot旁)。 - README.md:将截图条目从 Image 表格移至 Screenshot 表格,分别为
ww screenshot [DELAY]和ww screenshot-linux。