Function execute_command
Source pub async fn execute_command(
command: &str,
dry_run: bool,
attached: bool,
) -> Result<ExecutionResult, Error>
Expand description
Execute a command and return the result
§Arguments
command - Command to execute
dry_run - If true, just return the command without executing
attached - If true, stream output to console
§Returns
Execution result