2024-11-10 17:51:53 +11:00
|
|
|
/*
|
|
|
|
* darwin-apk © 2024 Gay Pizza Specifications
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2024-11-08 21:22:33 +11:00
|
|
|
|
|
|
|
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 {
|
2024-11-17 02:59:13 +11:00
|
|
|
eprint("uninstalling \"\(packages.joined(separator: "\", \""))\"")
|
2024-11-08 21:22:33 +11:00
|
|
|
}
|
|
|
|
}
|