fn format_command_error( output: &Output, command_description: Option<&str>, ) -> String
Helper function to build an error message from command output