Files
2026-06-13 16:18:50 +08:00

28 lines
828 B
Swift

// Copyright (c) 2026 Timofey Solomko
// Licensed under MIT License
//
// See LICENSE for license information
import Foundation
import SWCompression
import SwiftCLI
let _SWC_VERSION = "4.9.1"
let cli = CLI(name: "swcomp", version: _SWC_VERSION,
description: """
swcomp - a small command-line client for SWCompression framework.
Serves as an example of SWCompression usage.
""")
cli.parser.parseOptionsAfterCollectedParameter = true
cli.commands = [XZCommand(),
LZ4Command(),
LZMACommand(),
BZip2Command(),
GZipCommand(),
ZipCommand(),
TarCommand(),
SevenZipCommand(),
BenchmarkGroup()]
cli.goAndExit()