class Launch::CLI::MainCommand

Defined in:

launch/cli/commands.cr
launch/cli/commands/database.cr
launch/cli/commands/exec.cr
launch/cli/commands/generate.cr
launch/cli/commands/new.cr
launch/cli/commands/pipelines.cr
launch/cli/commands/plugin.cr
launch/cli/commands/routes.cr
launch/cli/commands/watch.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, present? present?

Class Method Detail

def self.after_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.after_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.after_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.after_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.after_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.after_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.around_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.around_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.around_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.around_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.around_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.around_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.before_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.before_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.before_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.before_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.before_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.before_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.on_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.on_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.on_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def self.on_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.on_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.on_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def self.run(argv : Array(String) = [] of ::String, &block : Launch::CLI::MainCommand -> ) #

Run the command.

This method is automatically defined by the Crystal CLI library.


def self.run(argv : Array(String)) #

Run the command.

This method is automatically defined by the Crystal CLI library.


[View source]
def self.run(previous : Cli::CommandBase, argv : Array(String) = [] of ::String) #

Run the command.

This method is automatically defined by the Crystal CLI library.


[View source]
def self.run #

Run the command.

This method is automatically defined by the Crystal CLI library.


[View source]

Instance Method Detail

def after_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def after_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def after_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def after_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def after_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def after_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def around_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def around_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def around_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def around_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def around_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def around_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def before_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def before_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def before_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def before_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def before_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def before_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def callback_results : Hash(String, Callback::ResultSet(Nil)) #

Returns callback results.

This method is automatically defined by the Crystal Callback library.


def callback_results_for_exit #

Returns callback results of the exit group.

This method is automatically defined by the Crystal Callback library.


def callback_results_for_initialize #

Returns callback results of the initialize group.

This method is automatically defined by the Crystal Callback library.


def on_exit(name, proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def on_exit(proc : Proc(Launch::CLI::MainCommand, Cli::Exit, Nil)) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def on_exit(name = nil, &block : Launch::CLI::MainCommand, Cli::Exit -> Nil) #

Registers a dynamic callback for the exit group.

This method is automatically defined by the Crystal Callback library.


def on_initialize(name, proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def on_initialize(proc : Proc(Launch::CLI::MainCommand, Nil)) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def on_initialize(name = nil, &block : Launch::CLI::MainCommand -> Nil) #

Registers a dynamic callback for the initialize group.

This method is automatically defined by the Crystal Callback library.


def run_callbacks_for_exit(*args, &) #

Invokes all callbacks of the exit group.

This method is automatically defined by the Crystal Callback library.


def run_callbacks_for_initialize(*args, &) #

Invokes all callbacks of the initialize group.

This method is automatically defined by the Crystal Callback library.