class

Crowbar::CLI::App

Inherits Reference < Object

Main CLI application runner and orchestrator

Constructors

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

Class methods

run(args : Array(String) = ARGV)
Source

Instance methods

err_io
Source
err_io=(err_io : IO)
Source
exit_handler
Source
exit_handler=(exit_handler : Proc(Int32, Nil))
Source
in_io
Source
in_io=(in_io : IO)
Source
out_io
Source
out_io=(out_io : IO)
Source
run(args : Array(String))
Source