fn transform_in_memory_command_v2(
    cmd: &CommandV2,
) -> Result<Command, ManifestError>