class Amber::CLI::MainCommand::Generate::Options

Overview

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

This class is automatically defined by the Crystal CLI library.

Defined in:

amber_cli/commands/generate.cr:9
amber_cli/commands/generate.cr:10

Instance Method Summary

Instance Method Detail

def assume_yes? #

Returns the -y option value.

This method is automatically defined by the optarg library.


def fields #

Returns the FIELDS argument value.

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

Returns the TYPE argument value.

This method is automatically defined by the optarg library.


def type? #

Returns the TYPE argument 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.