UNPKG

534 BTypeScriptView Raw
1import { Config, ConfigOptions } from './config';
2export default class CLI {
3 private config;
4 constructor(config: Config);
5 run(argv: string[]): Promise<any>;
6 private readonly debug;
7 private readonly global;
8 private setupHandlers();
9 private exitAfterStdoutFlush();
10 private flush();
11}
12export declare function run(argv?: string[], opts?: ConfigOptions): Promise<any>;
13export declare function run(opts: ConfigOptions): Promise<any>;
14export { ICommandInfo } from './command';
15export { Hook } from './hooks';