class Crowbar::CLI::App

Overview

Main CLI application runner and orchestrator

Defined in:

crowbar/cli/app.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(in_io : IO = STDIN, out_io : IO = STDOUT, err_io : IO = STDERR, exit_handler : Proc(Int32, Nil) = ->(code : Int32) do exit(code) end) #

Class Method Detail

def self.run(args : Array(String) = ARGV) #

Instance Method Detail

def err_io : IO #

def err_io=(err_io : IO) #

def exit_handler : Proc(Int32, Nil) #

def exit_handler=(exit_handler : Proc(Int32, Nil)) #

def in_io : IO #

def in_io=(in_io : IO) #

def out_io : IO #

def out_io=(out_io : IO) #

def run(args : Array(String)) #