class

Argy::BoolFlag

Inherits Argy::Flag < Reference < Object

Constructors

new(name, shorthand, usage, default : Bool = false)
Source

Instance methods

default
Source
reset!

Reset the flag to its declared default and clear changed-state.

Source
set_from_string(raw : String) : Nil

Set the flag value from a raw string; raises InvalidFlagValueError on failure

Source
type_label

The type label shown in help (e.g. "string", "int")

Source
value
Source
value=(value : Bool)
Source
value_string

Human-readable current value (used in help output)

Source