Rush StackShopBlogEvents
Skip to main content

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

ICommandLineIntegerDefinition interface

For use with CommandLineParameterProvider.defineIntegerParameter(), this interface defines a command line parameter whose argument is an integer value.

Signature:

export interface ICommandLineIntegerDefinition extends IBaseCommandLineDefinitionWithArgument 

Extends: IBaseCommandLineDefinitionWithArgument

Properties

PropertyModifiersTypeDescription
defaultValue?number(Optional) The default value which will be used if the parameter is omitted from the command line.