Documentation and Routing Corrections Summary | Generated by AI
All working. Here’s a summary of what was wrong and what was fixed:
Issues found (documentation issue, not code bug):
-
ww image screenshotwas a duplicate of the top-levelww screenshot— same module, same functionality. Per your preference for top-level commands, theimage screenshotroute was redundant. -
ww image screenshot-linuxhad no top-level shortcut, but should have one (ww screenshot-linux). -
The help text said
--delay(implying a flag), but the code usesdelayas a positional argument[DELAY].
Changes made:
- main.py help text: Removed
ww image screenshotandww image screenshot-linuxfrom the Image section. Addedww screenshot-linuxto the Screenshot section. - main.py routing: Removed
screenshotandscreenshot-linuxfrom theimagegroup handler. Added top-levelscreenshot-linuxroute (next to existingscreenshot). - README.md: Moved screenshot entries out of the Image table into the Screenshot table as
ww screenshot [DELAY]andww screenshot-linux.