Optimist::BoolOpt
Inherits Optimist::Option < Reference < Object
Flag option. Has no arguments. Can be negated with "no-". Allows multiple of the same option to be given if multi: is given.
Constructors
new(name, desc, default : Bool | Nil = nil, **kwargs)
SourceInstance methods
add_argument_value(_paramlist : Array(String), neg_given)
Sourcecounter
Sourcecounter=(counter : Int32)
Sourcedefault
Sourcemulti
Sourcemulti=(multi)
Sourceneeds_an_argument
Sourcetakes_an_argument
Sourcetakes_multiple
Sourcevalue
Sourcevalue=(value : Bool | Nil)
Source