(command: string)
| 95 | } |
| 96 | |
| 97 | function normalizeHelpTarget(command: string): string { |
| 98 | if (command === 'long-press') return 'longpress'; |
| 99 | if (command === 'metrics') return 'perf'; |
| 100 | return command; |
| 101 | } |
| 102 | |
| 103 | function isHelpCommand(command: string | undefined): boolean { |
| 104 | return command === 'help'; |