(
argv: string[] = process.argv.slice(2),
entrypointArgs: Record<string, any> = {}
)
| 41 | * smaller git diff. |
| 42 | */ |
| 43 | export function main( |
| 44 | argv: string[] = process.argv.slice(2), |
| 45 | entrypointArgs: Record<string, any> = {} |
| 46 | ) { |
| 47 | const args = parseArgv(argv, entrypointArgs); |
| 48 | const state: BootstrapState = { |
| 49 | shouldUseChildProcess: false, |
| 50 | isInChildProcess: false, |
| 51 | isCli: true, |
| 52 | tsNodeScript: __filename, |
| 53 | parseArgvResult: args, |
| 54 | }; |
| 55 | return bootstrap(state); |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * @internal |
no test coverage detected
searching dependent graphs…