1 | export default class CliOption {
|
2 | static newBoolean(opt: any, description: any): CliOption;
|
3 | static newString(opt: any, description: any): CliOption;
|
4 | private opt;
|
5 | private description;
|
6 | private enumValues;
|
7 | private type;
|
8 | private __defaultValue;
|
9 | constructor(opt: any, description: any, type?: string, short?: any, enumValues?: any, required?: any);
|
10 | getOpt(): any;
|
11 | getDescription(): any;
|
12 | setDescription(description: any): void;
|
13 | getType(): any;
|
14 | setType(type: any): void;
|
15 | getDefault(): any;
|
16 | setDefault(defaultValue: any): void;
|
17 | defaultValue(defaultValue: any): this;
|
18 | addEnum(value: any, description: any): this;
|
19 | getEnum(): any;
|
20 | setEnum(enumValues: any): void;
|
21 | getOptionHelp(): string;
|
22 | }
|