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

CommandLineParameterWithArgument class

The common base class for parameters types that receive an argument.


export declare abstract class CommandLineParameterWithArgument extends CommandLineParameter 


An argument is an accompanying command-line token, such as “123” in the example “–max-count 123”.

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


Property Modifiers Type Description
argumentName   string The name of the argument, which will be shown in the command-line help.