class Mochi::CLI::MainCommand::Options::Parser
- Mochi::CLI::MainCommand::Options::Parser
- Cli::OptionModel::Parser
- Optarg::Parser
- Reference
- Object
Overview
The dedicated Optarg::Parser subclass for the Options
class.
This class is automatically defined by the optarg library.
Defined in:
Class Method Summary
-
.after_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.after_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.after_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a callback for the validate group.
-
.around_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.around_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.around_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a callback for the validate group.
-
.before_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.before_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.before_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a callback for the validate group.
-
.on_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.on_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a callback for the validate group.
-
.on_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a callback for the validate group.
Instance Method Summary
-
#after_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#after_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#after_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a dynamic callback for the validate group.
-
#around_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#around_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#around_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a dynamic callback for the validate group.
-
#before_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#before_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#before_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> Nil)
Registers a dynamic callback for the validate group.
-
#callback_results_for_validate
Returns callback results of the validate group.
-
#data : Mochi::CLI::MainCommand::Options
Returns a target model instance.
-
#on_validate(name, proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#on_validate(proc : Proc(Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options, Nil))
Registers a dynamic callback for the validate group.
-
#on_validate(name = nil, &block : Mochi::CLI::MainCommand::Options::Parser, Mochi::CLI::MainCommand::Options -> 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.