Command.argToOpt

register an option that can be as the argument of command line. remember that it is positional sensitive and if you want to registered a variadic option, this option must be registered at the end and not other variadic options to be registered

class Command
argToOpt
(
string optName
,
string[] rest...
)

Parameters

optName string

the option's name or its long/short flag to be registered

rest string[]

the rest be registered

Return Value

Type: Self

Self for chain call

Meta