class Optimist::BoolOpt
- Optimist::BoolOpt
- Optimist::Option
- Reference
- Object
Overview
Flag option. Has no arguments. Can be negated with "no-". Allows multiple of the same option to be given if multi: is given.
Defined in:
optimist/option.crConstructors
Instance Method Summary
- #add_argument_value(_paramlist : Array(String), neg_given)
- #counter : Int32
- #counter=(counter : Int32)
- #default : Bool
- #multi : Bool?
- #multi=(multi)
- #needs_an_argument
- #takes_an_argument
- #takes_multiple : Bool?
- #value
- #value=(value : Bool | Nil)