mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-04 05:51:31 +00:00
18 lines
494 B
Swift
18 lines
494 B
Swift
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
import ArgumentParser
|
||
|
|
||
|
struct DpkRemoveCommand: ParsableCommand {
|
||
|
static let configuration = CommandConfiguration(
|
||
|
commandName: "remove",
|
||
|
abstract: "Remove specified package(s) from the system.",
|
||
|
aliases: [ "r", "rem", "del", "uninstall" ])
|
||
|
|
||
|
@Argument(help: "One or more package(s) to uninstall from the system.")
|
||
|
var packages: [String]
|
||
|
|
||
|
func run() throws {
|
||
|
print("uninstalling \"\(packages.joined(separator: "\", \""))\"")
|
||
|
}
|
||
|
}
|