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

CommandLineParameterProvider.getStringListParameter() method

Returns the CommandLineStringListParameter with the specified long name.

Signature:

getStringListParameter(parameterLongName: string): CommandLineStringListParameter;

Parameters

Parameter Type Description
parameterLongName string  

Returns:

CommandLineStringListParameter

Remarks

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