class
Crowbar::CLI::App
- Crowbar::CLI::App
- Reference
- Object
Overview
Main CLI application runner and orchestrator
Defined in:
crowbar/cli/app.crConstructors
Class Method Summary
Instance Method Summary
- #err_io : IO
- #err_io=(err_io : IO)
- #exit_handler : Proc(Int32, Nil)
- #exit_handler=(exit_handler : Proc(Int32, Nil))
- #in_io : IO
- #in_io=(in_io : IO)
- #out_io : IO
- #out_io=(out_io : IO)
- #run(args : Array(String))
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)
#