Rush StackShopBlogEvents
Skip to main content

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

CommandLineIntegerListParameter class​

The data type returned by CommandLineParameterProvider.defineIntegerListParameter().

Signature:

export declare class CommandLineIntegerListParameter extends CommandLineParameterWithArgument 

Extends: CommandLineParameterWithArgument

Remarks​

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

Properties​

Property

Modifiers

Type

Description

kind

readonly

CommandLineParameterKind.IntegerList

Indicates the type of parameter.

values

readonly

ReadonlyArray<number>

Returns the integer arguments for an integer list parameter that was parsed from the command line.

Methods​

Method

Modifiers

Description

appendToArgList(argList)

Append the parsed values to the provided string array.