class Amber::CLI::MainCommand::New::Options

Overview

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

This class is automatically defined by the Crystal CLI library.

Defined in:

amber_cli/commands/new.cr:7
amber_cli/commands/new.cr:8

Instance Method Summary

Instance Method Detail

def assume_yes? #

Returns the -y option value.

This method is automatically defined by the optarg library.


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 name #

Returns the NAME argument value.

This method is automatically defined by the optarg library.


def name? #

Returns the NAME argument value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def no_color? #

Returns the --no-color option value.

This method is automatically defined by the optarg library.


def no_deps? #

Returns the --no-deps option value.

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 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 y? #

Returns the -y option value.

This method is automatically defined by the optarg library.