Home > @microsoft/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  

Returns:

CommandLineIntegerParameter

Remarks

This method throws an exception if the parameter is not defined.