Rush StackShopBlogEvents
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, parameterScope?: string): CommandLineIntegerListParameter;

Parameters

ParameterTypeDescription
parameterLongNamestring
parameterScopestring(Optional)

Returns:

CommandLineIntegerListParameter

Remarks

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