Header menu logo Argu

MainCommandAttribute Type

Declares that argument is the main command of the CLI syntax. Arguments are specified without requiring a switch.

Constructors

Constructor Description

MainCommandAttribute()

Full Usage: MainCommandAttribute()

Returns: MainCommandAttribute
Returns: MainCommandAttribute

MainCommandAttribute(argumentName)

Full Usage: MainCommandAttribute(argumentName)

Parameters:
    argumentName : string

Returns: MainCommandAttribute
argumentName : string
Returns: MainCommandAttribute

Instance members

Instance member Description

this.ArgumentName

Full Usage: this.ArgumentName

Returns: string
Returns: string

Type something to start searching.