class

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

Inherits Command::Options < Cli::OptionModel < Optarg::Model < Reference < Object

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

This class is automatically defined by the Crystal CLI library.

Instance methods

assume_yes?

Returns the -y option value.

This method is automatically defined by the optarg library.

fields

Returns the FIELDS argument value.

This method is automatically defined by the optarg library.

name

Returns the NAME argument value.

This method is automatically defined by the optarg library.

name?

Returns the NAME argument value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.

no_color?

Returns the --no-color option value.

This method is automatically defined by the optarg library.

type

Returns the TYPE argument value.

This method is automatically defined by the optarg library.

type?

Returns the TYPE argument value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.

y?

Returns the -y option value.

This method is automatically defined by the optarg library.

Nested types