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

CommandLineFlagParameter class

The data type returned by CommandLineParameterProvider.defineFlagParameter().


export declare class CommandLineFlagParameter extends CommandLineParameter 


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


Property Modifiers Type Description
kind   CommandLineParameterKind Indicates the type of parameter.
value   boolean Returns a boolean indicating whether the parameter was included in the command line.


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