pub async fn run_sudo_exec_with_client(
vps: &VpsRecord,
command: &str,
client: Box<dyn SshClientTrait>,
format: OutputFormat,
json: bool,
) -> Result<()>Expand description
Testable version of sudo-exec.
pub async fn run_sudo_exec_with_client(
vps: &VpsRecord,
command: &str,
client: Box<dyn SshClientTrait>,
format: OutputFormat,
json: bool,
) -> Result<()>Testable version of sudo-exec.