(cmd: string)
| 27 | |
| 28 | // Utility function to check if a command is present |
| 29 | const command = (cmd: string): boolean => input.includes(cmd); |
| 30 | |
| 31 | // Utility function to check if a flag is present |
| 32 | const flag = (flg: string): boolean => Boolean(flags[flg]); |