- getCliParam(param, defaultValue?, opt?): undefined | string | boolean
Parameters
- param: string
- defaultValue: undefined = undefined
- opt: {
validator?: ((value?) => boolean);
valueType?: string;
} = {}Optional
validator?: ((value?) => boolean)
- (value?): boolean
Returns boolean
Optional
valueType?: string
Returns undefined | string | boolean
获取命令行参数