class Amber::CLI::MainCommand::Options

Overview

The dedicated Cli::OptionModel subclass for the MainCommand class.

This class is automatically defined by the Crystal CLI library.

Defined in:

amber/cli/commands.cr
amber/cli/commands/database.cr

Instance Method Summary

Instance Method Detail

def d #

Returns the -d option value.

This method is automatically defined by the optarg library.


def d? #

Returns the -d option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def database #

Returns the -d option value.

This method is automatically defined by the optarg library.


def database? #

Returns the -d option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def r #

Returns the -r option value.

This method is automatically defined by the optarg library.


def r? #

Returns the -r option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def recipe #

Returns the -r option value.

This method is automatically defined by the optarg library.


def recipe? #

Returns the -r option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def t #

Returns the -t option value.

This method is automatically defined by the optarg library.


def t? #

Returns the -t option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def template #

Returns the -t option value.

This method is automatically defined by the optarg library.


def template? #

Returns the -t option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.