class

Command::Options::Parser

Inherits Cli::OptionModel::Parser < Optarg::Parser < Reference < Object

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

This class is automatically defined by the optarg library.

Class methods

after_validate(name, proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(name = nil, &block : Command::Options::Parser, Command::Options -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name, proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name = nil, &block : Command::Options::Parser, Command::Options -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name, proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name = nil, &block : Command::Options::Parser, Command::Options -> Nil)

Registers a callback for the validate group.

This method is automatically defined by the Crystal Callback library.

on_validate(name, proc : Proc(Command::Options::Parser, Command::Options, 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 : Command::Options::Parser, Command::Options -> 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(Command::Options::Parser, Command::Options, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

after_validate(name = nil, &block : Command::Options::Parser, Command::Options -> Nil)

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name, proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

around_validate(name = nil, &block : Command::Options::Parser, Command::Options -> Nil)

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name, proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(proc : Proc(Command::Options::Parser, Command::Options, Nil))

Registers a dynamic callback for the validate group.

This method is automatically defined by the Crystal Callback library.

before_validate(name = nil, &block : Command::Options::Parser, Command::Options -> 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.

data

Returns a target model instance.

on_validate(name, proc : Proc(Command::Options::Parser, Command::Options, 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 : Command::Options::Parser, Command::Options -> 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.