diff --git a/Sources/swcomp/Benchmarks/BenchmarkGroup.swift b/Sources/swcomp/Benchmarks/BenchmarkGroup.swift index 40eb0aa8..b7042baf 100644 --- a/Sources/swcomp/Benchmarks/BenchmarkGroup.swift +++ b/Sources/swcomp/Benchmarks/BenchmarkGroup.swift @@ -15,8 +15,7 @@ final class BenchmarkGroup: CommandGroup { let children: [Routable] = [ RunBenchmarkCommand(), ShowBenchmarkCommand(), - RemoveRunCommand(), - ConvertCommand() + RemoveRunCommand() ] } diff --git a/Sources/swcomp/Benchmarks/ConvertCommand.swift b/Sources/swcomp/Benchmarks/ConvertCommand.swift deleted file mode 100644 index 1781af30..00000000 --- a/Sources/swcomp/Benchmarks/ConvertCommand.swift +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) 2026 Timofey Solomko -// Licensed under MIT License -// -// See LICENSE for license information - -import Foundation -import SwiftCLI - -final class ConvertCommand: Command { - - let name = "convert" - let shortDescription = "Converts save file to a new format" - let longDescription = "Converts specified with saved benchmark results to a new format" - - @Param var path: String - - func execute() throws { - let oldSaveFile = try OldSaveFile.load(from: self.path) - let encoder = JSONEncoder() - encoder.outputFormatting = [.prettyPrinted, .sortedKeys] - let data = try encoder.encode(SaveFile(oldSaveFile)) - try data.write(to: URL(fileURLWithPath: path)) - } - -}