struct

Chronicle::Models::ShellEvent

Inherits JSON::Serializable < Struct < Value < Object

Represents a recorded shell command execution.

Constructors

new(command : String, pwd : String, exit_code : Int32 = 0, pid : Int32 = 0, timestamp : Time = Time.utc, id : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

command
Source
command=(command : String)
Source
exit_code
Source
exit_code=(exit_code : Int32)
Source
id=(id : Int64 | Nil)
Source
pid=(pid : Int32)
Source
pwd=(pwd : String)
Source
success?
Source
timestamp
Source
timestamp=(timestamp : Time)
Source