Home > @rushstack/ts-command-line > CommandLineParameterProvider > getStringParameter
CommandLineParameterProvider.getStringParameter() method
Returns the CommandLineStringParameter with the specified long name.
Signature:getStringParameter(parameterLongName: string): CommandLineStringParameter;
Parameters
Parameter | Type | Description |
---|---|---|
parameterLongName | string |
Remarks
This method throws an exception if the parameter is not defined.