class Amber::CLI::MainCommand::Generate::Options
- Amber::CLI::MainCommand::Generate::Options
- Command::Options
- Cli::OptionModel
- Optarg::Model
- Reference
- Object
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:9amber/cli/commands/generate.cr:10
Instance Method Summary
-
#assume_yes?
Returns the -y option value.
-
#fields
Returns the FIELDS argument value.
-
#name
Returns the NAME argument value.
-
#name?
Returns the NAME argument value.
-
#no_color?
Returns the --no-color option value.
-
#type
Returns the TYPE argument value.
-
#type?
Returns the TYPE argument value.
-
#y?
Returns the -y option value.
Instance Method Detail
Returns the -y option value.
This method is automatically defined by the optarg library.
Returns the FIELDS argument value.
This method is automatically defined by the optarg library.
Returns the NAME argument value.
This method is automatically defined by the optarg library.
Returns the NAME argument value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.
Returns the --no-color option value.
This method is automatically defined by the optarg library.
Returns the TYPE argument value.
This method is automatically defined by the optarg library.
Returns the TYPE argument value.
Returns nil, if the value is undefined.
This method is automatically defined by the optarg library.