class Crowbar::CLI::SessionHandler

Overview

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

Defined in:

crowbar/cli/session_handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

Instance Method Detail

def checksums_capacity : Int32 | Nil #

def checksums_capacity=(checksums_capacity : Int32 | Nil) #

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 handle(sub_args : Array(String)) #

def in_io : IO #

def in_io=(in_io : IO) #

def input_encoding : String | Nil #

def input_encoding=(input_encoding : String | Nil) #

def json_output : Bool #

def json_output=(json_output : Bool) #

def out_io : IO #

def out_io=(out_io : IO) #

def output_encoding : String | Nil #

def output_encoding=(output_encoding : String | Nil) #

def output_pattern : String | Nil #

def output_pattern=(output_pattern : String | Nil) #

def seed : UInt64 | Nil #

def seed=(seed : UInt64 | Nil) #

def seek_offset : Int64 | Nil #

def seek_offset=(seek_offset : Int64 | Nil) #

def selected_mutations : String | Nil #

def selected_mutations=(selected_mutations : String | Nil) #

def selected_pattern : String | Nil #

def selected_pattern=(selected_pattern : String | Nil) #

def selected_rule : String | Nil #

def selected_rule=(selected_rule : String | Nil) #

def show_diff : Bool #

def show_diff=(show_diff : Bool) #

def template : String | Nil #

def template=(template : String | Nil) #

def unique : Bool #

def unique=(unique : Bool) #