Skip to main content

Home > @rushstack/ts-command-line > CommandLineParameterProvider > getIntegerListParameter

CommandLineParameterProvider.getIntegerListParameter() method

Returns the CommandLineIntegerParameter with the specified long name.

Signature:
getIntegerListParameter(parameterLongName: string): CommandLineIntegerListParameter;

Parameters

ParameterTypeDescription
parameterLongNamestring
Returns:

CommandLineIntegerListParameter

Remarks

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