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

Parameter

Type

Description

parameterLongName

string

parameterScope

string

(Optional)

Returns:

CommandLineStringListParameter

Remarks

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