Commander::AppSnapshot
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(active_panel : Int32, panel_count : Int32, running : Bool, status_text : String, dry_run : Bool, plugin_root : String, plugins : Array(PluginSnapshot), plugin_runtimes : Array(PluginRuntimeSnapshot), plugin_errors : Array(String), commands : Array(CommandSnapshot), pending_operation : OperationPlanSnapshot | Nil, preview : PreviewSnapshot | Nil, external_view : ExternalViewSnapshot | Nil, panels : Array(PanelSnapshot), viewer_config : ViewerConfigSnapshot = ViewerConfigSnapshot.new, viewer_sessions : Array(ViewerSessionSnapshot) = [] of ViewerSessionSnapshot, plugin_actions : Array(PluginActionSnapshot) = [] of PluginActionSnapshot, active_tab : Int32 = 0, tabs : Array(TabSnapshot) = [] of TabSnapshot)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
active_panel
Sourceactive_tab
Sourcecommands
Sourcedry_run
Sourceexternal_view
Sourcepanel_count
Sourcepanels
Sourcepending_operation
Sourceplugin_actions
Sourceplugin_errors
Sourceplugin_root
Sourceplugin_runtimes
Sourceplugins
Sourcepreview
Sourcerunning
Sourcestatus_text
Sourcetabs
Sourceviewer_config
Sourceviewer_sessions
Source