abstract class Cli::OptionModel::Parser
- Cli::OptionModel::Parser
- Optarg::Parser
- Reference
- Object
Overview
The dedicated Optarg::Parser subclass for the OptionModel
class.
This class is automatically defined by the optarg library.
Defined in:
lib/option_model.crClass Method Summary
-
.after_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.after_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.after_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a callback for the validate group.
-
.around_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.around_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.around_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a callback for the validate group.
-
.before_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.before_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.before_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a callback for the validate group.
-
.on_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.on_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a callback for the validate group.
-
.on_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a callback for the validate group.
Instance Method Summary
-
#after_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#after_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#after_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a dynamic callback for the validate group.
-
#around_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#around_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#around_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a dynamic callback for the validate group.
-
#before_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#before_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#before_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a dynamic callback for the validate group.
-
#callback_results_for_validate
Returns callback results of the validate group.
-
#on_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#on_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))
Registers a dynamic callback for the validate group.
-
#on_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)
Registers a dynamic callback for the validate group.
-
#run_callbacks_for_validate(*args, &)
Invokes all callbacks of the validate group.
Class Method Detail
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Instance Method Detail
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Returns callback results of the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Registers a dynamic callback for the validate group.
This method is automatically defined by the Crystal Callback library.
Invokes all callbacks of the validate group.
This method is automatically defined by the Crystal Callback library.