Files
SWCompression/Sources/swcomp/main.swift
T

26 lines
797 B
Swift

// Copyright (c) 2022 Timofey Solomko
// Licensed under MIT License
//
// See LICENSE for license information
import Foundation
import SWCompression
import SwiftCLI
let cli = CLI(name: "swcomp", version: "4.8.2",
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(),
BenchmarkCommand()]
cli.goAndExit()