Home > @rushstack/ts-command-line > CommandLineParameterProvider > getIntegerParameter
CommandLineParameterProvider.getIntegerParameter() method
Returns the CommandLineIntegerParameter with the specified long name.
Signature:
getIntegerParameter(parameterLongName: string, parameterScope?: string): CommandLineIntegerParameter;
Parameters
Parameter | Type | Description |
---|---|---|
parameterLongName | string | |
parameterScope | string | (Optional) |
Returns:
Remarks
This method throws an exception if the parameter is not defined.