class Db::Console

Defined in:

avram/tasks/db/console.cr

Constant Summary

PARSER_OPTS = [] of Symbol

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Class Method Detail

def self.task_help_message : String #

The help text to be displayed when a help flag is passed in (e.g. -h, --help) Use the help_message


[View source]
def self.task_name : String #

The name of your task as derived by the class name Use the .task_name macro to define a custom task name


[View source]
def self.task_summary : String #

By default, task summaries are optional. Use the summary macro to define a custom summary


[View source]

Instance Method Detail

def call #

[View source]
def option_parser : OptionParser #

def option_parser=(option_parser : OptionParser) #

def output : IO #

def output=(output : IO) #

def print_help_or_call(args : Array(String)) #

[View source]