abstract class Optarg::Option

Defined in:

optarg/option.cr

Instance methods inherited from class Optarg::OptionBase

default default, postset_default_to(data) postset_default_to, preset_default_to(data) preset_default_to, validate(data) validate, with_default?(&) with_default?

Instance methods inherited from class Optarg::Definition

group : Symbol group, key key, matches?(name) matches?, metadata : Metadata metadata, names : Array(String) names, parse(args, data) parse, stops? : Bool stops?, terminates? : Bool terminates?, type type

Constructor methods inherited from class Optarg::Definition

new(names : Array(String), metadata = nil, group = nil, stop = nil, terminate = nil) new