Home > @rushstack/ts-command-line > CommandLineRemainder

CommandLineRemainder class

The data type returned by CommandLineParameterProvider.defineCommandLineRemainder().


export declare class CommandLineRemainder 


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


Property Modifiers Type Description
description   string Documentation for the parameter that will be shown when invoking the tool with “–help”
values   ReadonlyArray<string> Returns any remaining command line arguments after the recognized portion that was parsed from the command line.


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