UNPKG

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