class CliMate::Runner

Included Modules

Defined in:

cli.cr

Constructors

Instance Method Summary

Macro Summary

Instance methods inherited from module CliMate::CommonDeclarations

commands commands, commands=(commands) commands=, default default, name name, parser_options(parser) parser_options

Instance methods inherited from module CliMate::Helpers

ask ask, blurt(*args) blurt, say(*args) say, silent(value) silent, stop(code = 1) stop

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def footer #

[View source]
def header #

[View source]
def history #

[View source]
def history_file_name : String #

[View source]
def options : CliMate::Options #

[View source]
def parse_and_execute(cmd) #

[View source]
def run(opts, args) #

[View source]
def save_history #

[View source]
def show_help #

[View source]
def start(args) #

[View source]
def sticky_options : Bool #

[View source]
def sticky_options=(sticky_options : Bool) #

[View source]

Macro Detail

macro footer(text) #

[View source]
macro header(text) #

[View source]