OptionModel

Models command line options. Options are values passed to a command line interface using -x or --x. Supported syntax depends on the parser.
Name Type Description

argName

String

-

defaultValue

String

-

description

String

-

flag

Boolean

Configures the current link to be a flag. It will be evaluated to true if it's found in the command line. If you need a flag that may receive a value, use, in this order:

   option.setFlag(true).setSingleValued(true)
 

hidden

Boolean

-

longName

String

-

multiValued

Boolean

-

rawValues

Array of String

-

required

Boolean

-

seenInCommandLine

Boolean

-

shortName

String

-

singleValued

Boolean

-