1 | declare module 'command-line-args' {
|
2 | function commandLineArgs(args: commandLineArgs.ArgDescriptor[])
|
3 | : any;
|
4 |
|
5 | module commandLineArgs {
|
6 | interface ArgDescriptor {
|
7 | name: string;
|
8 | alias?: string;
|
9 | description?: string;
|
10 | defaultValue?: any;
|
11 | type?: Object;
|
12 | multiple?: boolean;
|
13 | defaultOption?: boolean;
|
14 | group?: string;
|
15 | }
|
16 | interface UsageOpts {
|
17 | title?: string;
|
18 | header?: string;
|
19 | description?: string;
|
20 | groups?: any;
|
21 | }
|
22 | }
|
23 |
|
24 | export = commandLineArgs;
|
25 | }
|