class

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)
Source

Instance methods

add_argument_value(_paramlist : Array(String), neg_given)
Source
counter
Source
counter=(counter : Int32)
Source
default
Source
multi
Source
multi=(multi)
Source
needs_an_argument
Source
takes_an_argument
Source
takes_multiple
Source
value
Source
value=(value : Bool | Nil)
Source