class

Cli::OptionModel::Parser

Inherits Optarg::Parser < Reference < Object

The dedicated Optarg::Parser subclass for the OptionModel class.

This class is automatically defined by the optarg library.

Class methods

after_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

on_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

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.

on_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

Instance methods

after_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

callback_results_for_validate

Returns callback results of the validate group.

This method is automatically defined by the Crystal Callback library.

on_validate(name, proc : Proc(Cli::OptionModel::Parser, Cli::OptionModel, Nil))

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.

on_validate(name = nil, &block : Cli::OptionModel::Parser, Cli::OptionModel -> Nil)

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

run_callbacks_for_validate(*args, &)

Invokes all callbacks of the validate group.

This method is automatically defined by the Crystal Callback library.