User-defined flag type with a custom parser block.
Constructors
new(short :
Char |
Nil, long :
String, default :
T |
Nil, description :
String, persistent :
Bool, block :
Proc(
T,
Nil), parser :
Proc(
String,
T), env_var :
String |
Nil = nil, aliases :
Array(
String) = [] of
String, hidden :
Bool = false, deprecated :
String |
Nil = nil, required :
Bool = false)
Source