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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
command
Sourceexit_code
Sourceid
Sourcepid
Sourcepwd
Sourcesuccess?
Sourcetimestamp
Source