UNPKG

727 BTypeScriptView Raw
1import * as yargs from 'yargs';
2import { ContributionProvider } from '../common/contribution-provider';
3import { MaybePromise } from '../common/types';
4export declare const CliContribution: unique symbol;
5/**
6 * Call back for extension to contribute options to the cli.
7 */
8export interface CliContribution {
9 configure(conf: yargs.Argv): void;
10 setArguments(args: yargs.Arguments): MaybePromise<void>;
11}
12export declare class CliManager {
13 protected readonly contributionsProvider: ContributionProvider<CliContribution>;
14 constructor(contributionsProvider: ContributionProvider<CliContribution>);
15 initializeCli(argv: string[]): Promise<void>;
16 protected isExit(): boolean;
17}
18//# sourceMappingURL=cli.d.ts.map
\No newline at end of file