class

OptionBuilder::ArrayFlag(T)

Inherits OptionBuilder::ChoicesSupport < OptionBuilder::ValueParser < OptionBuilder::Flag < Reference < Object

Collects repeated values (e.g. --input a --input b).

Constructors

new(short : Char | Nil, long : String, type : T.class, description : String, persistent : Bool, block : Proc(Array(T), Nil), env_var : String | Nil = nil, aliases : Array(String) = [] of String, hidden : Bool = false, deprecated : String | Nil = nil, choices : Array(T) | Nil = nil, required : Bool = false)
Source

Instance methods

parse_and_call(value : String)
Source