fix(cli): let help accept device selection flags

Merged
TH
2d ago
+59-2

Summary

Allow help requests to accept device and session selection flags without changing the help output. Reject unrelated unsupported flags as before.

Before / after

agent-device help gestures --platform ios --udid X previously rejected the flags. It now begins:

agent-device 0.21.44-dev — gestures

Full command shapes and platform quirks for touch/pointer gestures beyond scroll/swipe.

Validation

  • pnpm install --frozen-lockfile && pnpm build
  • pnpm exec vitest run --project unit-core src/__tests__/cli-help.test.ts (37 passed)
  • Ran the built CLI command above. CI owns remaining checks.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.