class Launch::CLI::MainCommand::Database::Options

Overview

Handles database operations. Due to how jennifer migrations work, instead of calling methods directly, Process.run is utilized. A sam.cr file exists in the users project which is ran with the proper commands.

Defined in:

launch/cli/commands/database.cr:10
launch/cli/commands/database.cr:15

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, present? present?

Instance Method Detail

def commands #

Returns the COMMANDS argument 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 s #

Returns the -s option value.

This method is automatically defined by the optarg library.


def s? #

Returns the -s option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def step #

Returns the -s option value.

This method is automatically defined by the optarg library.


def step? #

Returns the -s option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def v #

Returns the -v option value.

This method is automatically defined by the optarg library.


def v? #

Returns the -v option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def version #

Returns the -v option value.

This method is automatically defined by the optarg library.


def version? #

Returns the -v option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.