mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-03 21:41:31 +00:00
Initial implementation of APKINDEX, fetching, reading, parsing, & merging
This commit is contained in:
17
Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift
Normal file
17
Sources/dpk-cli/Subcommands/DpkRemoveCommand.swift
Normal file
@ -0,0 +1,17 @@
|
||||
// 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: "\", \""))\"")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user