UNPKG

462 BTypeScriptView Raw
1import commander from "commander";
2import type { LogOutput } from "./clilogger";
3interface ResolveConfigOptions {
4 config?: string;
5 cwd?: string;
6}
7export declare function resolveConfig({ config, cwd }?: ResolveConfigOptions): {
8 opts: commander.OptionValues;
9 program: commander.Command;
10} | null;
11declare function main(argv: string[], stdout: LogOutput, stderr: LogOutput, exit: (exitCode: number) => void): Promise<void>;
12export { main as cli };