class Db::VerifyConnection

Defined in:

avram/tasks/db/verify_connection.cr

Constant Summary

PARSER_OPTS = [] of Symbol

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class BaseTask

call call, option_parser : OptionParser option_parser, option_parser=(option_parser : OptionParser) option_parser=, output : IO output, output=(output : IO) output=, print_help_or_call(args : Array(String)) print_help_or_call, run_task run_task

Class methods inherited from class BaseTask

task_help_message : String task_help_message, task_name : String task_name, task_summary : String task_summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(quiet : Bool = false) #

[View source]

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 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]
def quiet? : Bool #

[View source]
def run_task #

[View source]