(argv: string[])
| 31 | } |
| 32 | |
| 33 | function runNoCommandFastPath(argv: string[]): boolean { |
| 34 | if (argv.length !== 0) return false; |
| 35 | import('./cli/parser/cli-help.ts') |
| 36 | .then(({ buildUsageText }) => { |
| 37 | process.stdout.write(`${buildUsageText()}\n`); |
| 38 | process.exit(1); |
| 39 | }) |
| 40 | .catch(handleStartupError); |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | function runHelpFastPath(argv: string[]): boolean { |
| 45 | const helpTarget = resolveSimpleHelpTarget(argv); |
no test coverage detected