class Mochi::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:

mochi/cli/commands/generate.cr:13
mochi/cli/commands/generate.cr:14

Instance Method Summary

Instance Method Detail

def assume_yes? #

Returns the -y option value.

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

Returns the ORM argument value.

This method is automatically defined by the optarg library.


def orm? #

Returns the ORM argument value.

Returns nil, if the value is undefined.

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.