(args: string[], flag: string)
| 847 | } |
| 848 | |
| 849 | function getArgValue(args: string[], flag: string): string | undefined { |
| 850 | const idx = args.indexOf(flag); |
| 851 | |
| 852 | return idx !== -1 && idx + 1 < args.length ? args[idx + 1] : undefined; |
| 853 | } |
| 854 | |
| 855 | await main(); |
no outgoing calls
no test coverage detected