abstract struct
Obsctl::Domain::Command
- Obsctl::Domain::Command
- Struct
- Value
- Object
Overview
Base type for parsed CLI commands.
A command knows its own IPC identity and payload arguments, so every surface that has to put one on the wire — the thin CLI client and the TUI dispatcher — builds the payload the same way instead of maintaining its own type-to-name table.
Direct Known Subclasses
- Obsctl::Domain::ConnectCommand
- Obsctl::Domain::DisconnectCommand
- Obsctl::Domain::DumpConfigCommand
- Obsctl::Domain::HelpCommand
- Obsctl::Domain::MuteCommand
- Obsctl::Domain::ObsStatusCommand
- Obsctl::Domain::PauseRecordCommand
- Obsctl::Domain::QuitCommand
- Obsctl::Domain::ReconnectCommand
- Obsctl::Domain::RecordStatusCommand
- Obsctl::Domain::ReloadConfigCommand
- Obsctl::Domain::ResumeRecordCommand
- Obsctl::Domain::ServerStatusCommand
- Obsctl::Domain::SetProfileCommand
- Obsctl::Domain::SetSceneCollectionCommand
- Obsctl::Domain::SetSceneCommand
- Obsctl::Domain::ShutdownServerCommand
- Obsctl::Domain::StartRecordCommand
- Obsctl::Domain::StatusCommand
- Obsctl::Domain::StopRecordCommand
- Obsctl::Domain::ToggleMuteCommand
- Obsctl::Domain::ToggleRecordCommand
- Obsctl::Domain::ToggleStreamCommand
- Obsctl::Domain::UnmuteCommand
- Obsctl::Domain::ValidateConfigCommand
- Obsctl::Domain::VolumeCommand
Defined in:
obsctl/domain/command.crConstructors
Instance Method Summary
- #initialize
-
#ipc_name : String | Nil
IPC command name, or nil for commands resolved entirely client-side.
-
#percent : Int32 | Nil
Payload percentage, for commands that carry a level.
-
#target : String | Nil
Payload target, for commands that address a named OBS resource.