module TandaCLI::Utils::Display

Extended Modules

Defined in:

tanda_cli/utils/display.cr

Constant Summary

ERROR_STRING = "Error:".colorize.light_red
FATAL_STRING = "Fatal:".colorize.red
INFO_STRING = "Info:".colorize.light_green
SUCCESS_STRING = "Success:".colorize.green
WARNING_STRING = "Warning:".colorize.yellow

Instance Method Summary

Instance Method Detail

def error(message : String, value = nil) #

[View source]
def error(message : String, value = nil, & : String::Builder -> ) #

[View source]
def error(error_object : Error::Interface) #

[View source]
def error!(message : String, value = nil) : NoReturn #

[View source]
def error!(message : String, value = nil, &block : String::Builder -> ) : NoReturn #

[View source]
def error!(error_object : Error::Base) : NoReturn #

[View source]
def error!(error_object : Error::Interface) : NoReturn #

[View source]
def fatal!(message : String) : NoReturn #

[View source]
def fatal!(exception : Exception) : NoReturn #

[View source]
def info(message : String, value = nil) #

[View source]
def info!(message : String, value = nil) : NoReturn #

[View source]
def success(message : String, value = nil) #

[View source]
def warning(message : String) #

[View source]