class Mochi::CLI::MainCommand::Generate::Options
- Mochi::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:
mochi/cli/commands/generate.cr:13mochi/cli/commands/generate.cr:14
Instance Method Summary
-
#assume_yes?
Returns the -y option value.
-
#no_color?
Returns the --no-color option value.
-
#orm
Returns the ORM argument value.
-
#orm?
Returns the ORM argument 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 --no-color option value.
This method is automatically defined by the optarg library.
Returns the ORM argument value.
This method is automatically defined by the optarg library.
Returns the ORM argument value.
Returns nil, if the value is undefined.
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.