send_command_sync

Function send_command_sync 

Source
pub fn send_command_sync(
    socket_path: &Path,
    command: DaemonCommand,
) -> Result<DaemonResponse>
Expand description

Synchronous wrapper for sending a command to the daemon.

Creates a temporary tokio runtime to send the command. Use this from non-async contexts like CLI commands.