Home > @microsoft/ts-command-line > CommandLineStringListParameter

CommandLineStringListParameter class

The data type returned by CommandLineParameterProvider.defineStringListParameter().


export declare class CommandLineStringListParameter extends CommandLineParameterWithArgument 


The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the CommandLineStringListParameter class.


Property Modifiers Type Description
kind   CommandLineParameterKind Indicates the type of parameter.
values   ReadonlyArray<string> Returns the string arguments for a string list parameter that was parsed from the command line.


Method Modifiers Description
appendToArgList(argList)   Append the parsed values to the provided string array.