class

Crowbar::CLI::SessionHandler

Inherits Reference < Object

Handles all stateful session subcommands: next, reward, status, list, reset, setup, show, history

Constructors

new(in_io : IO, out_io : IO, err_io : IO, exit_handler : Proc(Int32, Nil), selected_rule : String | Nil = nil, selected_pattern : String | Nil = nil, selected_mutations : String | Nil = nil, seed : UInt64 | Nil = nil, show_diff : Bool = false, output_pattern : String | Nil = nil, json_output : Bool = false, template : String | Nil = nil, unique : Bool = false, checksums_capacity : Int32 | Nil = nil, seek_offset : Int64 | Nil = nil, input_encoding : String | Nil = nil, output_encoding : String | Nil = nil)
Source

Instance methods

checksums_capacity
Source
checksums_capacity=(checksums_capacity : Int32 | Nil)
Source
err_io
Source
err_io=(err_io : IO)
Source
exit_handler
Source
exit_handler=(exit_handler : Proc(Int32, Nil))
Source
handle(sub_args : Array(String))
Source
in_io
Source
in_io=(in_io : IO)
Source
input_encoding
Source
input_encoding=(input_encoding : String | Nil)
Source
json_output
Source
json_output=(json_output : Bool)
Source
out_io
Source
out_io=(out_io : IO)
Source
output_encoding
Source
output_encoding=(output_encoding : String | Nil)
Source
output_pattern
Source
output_pattern=(output_pattern : String | Nil)
Source
seed
Source
seed=(seed : UInt64 | Nil)
Source
seek_offset
Source
seek_offset=(seek_offset : Int64 | Nil)
Source
selected_mutations
Source
selected_mutations=(selected_mutations : String | Nil)
Source
selected_pattern
Source
selected_pattern=(selected_pattern : String | Nil)
Source
selected_rule
Source
selected_rule=(selected_rule : String | Nil)
Source
show_diff
Source
show_diff=(show_diff : Bool)
Source
template
Source
template=(template : String | Nil)
Source
unique
Source
unique=(unique : Bool)
Source