(name: string)
| 23 | |
| 24 | const args = process.argv.slice(2); |
| 25 | const flag = (name: string) => { |
| 26 | const i = args.indexOf(`--${name}`); |
| 27 | return i !== -1 ? args[i + 1] : undefined; |
| 28 | }; |
| 29 | const dryRun = args.includes("--dry-run"); |
| 30 | const newOnly = args.includes("--new-only"); |
| 31 |
no outgoing calls
no test coverage detected