class Clear::CLI::Generator

Included Modules

Defined in:

clear/cli/generator.cr
clear/cli/generators/migration.cr
clear/cli/generators/model.cr
clear/cli/generators/new/kemal.cr

Constant Summary

HELP = {"description" => ""}

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.[](name) #

[View source]
def self.[]?(name) #

[View source]
def self.add(name, desc, &block : Array(String) -> Nil) #

[View source]
def self.description #

[View source]
def self.generators #

[View source]
def self.run(*args, **params) #

[View source]

Instance Method Detail

def __rescue_from___Admiral__Error(e) #

def arguments #
Description copied from class Admiral::Command

Returns the commands Arguments object.

You can access names arguments by name. You can also access the remaning arguments using .arguments[index].


[View source]
def flags #
Description copied from class Admiral::Command

Returns the commands Flags object.

You can access names flags by name.


[View source]
def help #

def run #
Description copied from class Admiral::Command

The run command.


[View source]
def run_impl #

[View source]
def sub(command, *args, **params) #
Description copied from class Admiral::Command

Invokes a sub command by name, passing self as the parent.


[View source]

Macro Detail

macro ecr_to_s(string, opts) #

[View source]