12 lines
513 B
TypeScript
12 lines
513 B
TypeScript
|
#!/usr/bin/env node
|
||
|
/**
|
||
|
* Main `bin` functionality.
|
||
|
*
|
||
|
* This file is split into a chain of functions (phases), each one adding to a shared state object.
|
||
|
* This is done so that the next function can either be invoked in-process or, if necessary, invoked in a child process.
|
||
|
*
|
||
|
* The functions are intentionally given uncreative names and left in the same order as the original code, to make a
|
||
|
* smaller git diff.
|
||
|
*/
|
||
|
export declare function main(argv?: string[], entrypointArgs?: Record<string, any>): void;
|