buildPatchCommand method
Builds a patch command string from the provided configuration.
Parameters:
config: The command configuration (Android or iOS)
Returns:
- A complete Shorebird patch command string
 
Throws:
- ArgumentError: If the configuration type is not supported
 
Implementation
String buildPatchCommand(ShorebirdCommandConfig config) {
  logDebug('Building patch command for ${config.runtimeType}');
  if (config is AndroidCommandConfig) {
    return _buildAndroidPatchCommand(config);
  } else if (config is IosCommandConfig) {
    return _buildIosPatchCommand(config);
  } else {
    throw ArgumentError(
        'Unsupported configuration type for patch: ${config.runtimeType}');
  }
}