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​

Parameter

Type

Description

parameterLongName

string

parameterScope

string

(Optional)

Returns:

CommandLineIntegerListParameter

Remarks​

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