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