Commander::Flag
Inherits Reference / Object
Constants
FLOAT_PATTERN = /^(\d+|\d+\.\d+)$/
INT_PATTERN = /^\d+$/
LONG_PATTERN = /^\-\-[a-zA-Z0-9-]+$/
SHORT_PATTERN = /^\-[a-zA-Z0-9]$/
Constructors
new
Sourcenew
SourceInstance methods
arg
Sourcedefault
Sourcedefault=(default : Types)
Sourcedescription
Sourcedescription=(description : String)
Sourcelong
Sourcelong=(long : String)
Sourcename
Sourcename=(name : String)
Sourcepersistent
Sourcepersistent=(persistent : Bool)
Sourceshort
Sourceshort=(short : String)
Source