1 | export { IArg } from './args';
|
2 | export { ParserOutput, OutputArgs, OutputFlags, DefaultFlags } from './parse';
|
3 | export { flags, IFlag, option } from './flags';
|
4 | export { flagUsages } from './help';
|
5 | import { IArg } from './args';
|
6 | import { IFlag } from './flags';
|
7 | import { ParserOutput } from './parse';
|
8 | export declare type InputArgs = IArg<any>[];
|
9 | export declare type InputFlags = {
|
10 | [name: string]: IFlag<any>;
|
11 | };
|
12 | export declare type ParserInput<T extends InputFlags | undefined> = {
|
13 | argv?: string[];
|
14 | flags?: T;
|
15 | args?: InputArgs;
|
16 | strict?: boolean;
|
17 | parseContext?: {
|
18 | [k: string]: any;
|
19 | };
|
20 | };
|
21 | export declare function parse<T extends InputFlags | undefined>(options: ParserInput<T>): ParserOutput<T>;
|