Rush StackShopBlogEvents
Skip to main content

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

CommandLineParameterProvider.getStringListParameter() method

Returns the CommandLineStringListParameter with the specified long name.

Signature:

getStringListParameter(parameterLongName: string, parameterScope?: string): CommandLineStringListParameter;

Parameters

ParameterTypeDescription
parameterLongNamestring
parameterScopestring(Optional)

Returns:

CommandLineStringListParameter

Remarks

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