abstract class CLIche::Command

Included Modules

Defined in:

cliche/command.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from module CLIche::Helper

confirm(message, prompt = "[y/N]:", io = STDOUT, input = STDIN) confirm, danger(label, message, io = STDOUT) danger, echo(label, message, color = :default, io = STDOUT) echo, info(label, message, io = STDOUT) info, success(label, message, io = STDOUT) success, warning(label, message, io = STDOUT) warning

Class Method Detail

def self.call(argv) #

[View source]

Instance Method Detail

abstract def call(args) #

[View source]
def description : String #

[View source]
def name : String #

[View source]
def option_parser : OptionParser #

[View source]
def parse_abort(message, value = "") #

[View source]
def print_usage_and_exit #

[View source]
def print_version_and_exit #

[View source]