class Command::Options::Parser

Overview

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

This class is automatically defined by the optarg library.

Direct Known Subclasses

Defined in:

Class Method Summary

Instance Method Summary

Class Method Detail

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


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


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


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


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


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


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


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


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


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


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


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

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


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


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


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


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


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


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


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


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


def callback_results_for_validate #

Returns callback results of the validate group.

This method is automatically defined by the Crystal Callback library.


def data : Command::Options #

Returns a target model instance.


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


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


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


def run_callbacks_for_validate(*args, &) #

Invokes all callbacks of the validate group.

This method is automatically defined by the Crystal Callback library.