pub fn execute_command(
cmd: &str,
description: &str,
dry_run: bool,
) -> Result<(), String>Expand description
Execute a command with dry-run support.
When dry_run is true, logs the command without executing it.
Returns Ok(()) on success or Err with the error description.