abstract class Cli::OptionModel::Parser

Overview

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

This class is automatically defined by the optarg library.

Defined in:

lib/option_model.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.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.


def self.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.


def self.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.


def self.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.


def self.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.


def self.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.


def self.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.


def self.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.


def self.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.


def self.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.


def self.on_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.


def self.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 Method Detail

def 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.


def 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.


def 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.


def 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.


def 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.


def 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.


def 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.


def 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.


def 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.


def callback_results_for_validate #

Returns callback results of the validate group.

This method is automatically defined by the Crystal Callback library.


def 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.


def on_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.


def 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.


def run_callbacks_for_validate(*args, &) #

Invokes all callbacks of the validate group.

This method is automatically defined by the Crystal Callback library.