mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-03 13:31:32 +00:00
21 lines
517 B
Swift
21 lines
517 B
Swift
/*
|
|
* darwin-apk © 2024 Gay Pizza Specifications
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import ArgumentParser
|
|
|
|
struct DpkInstallCommand: ParsableCommand {
|
|
static let configuration = CommandConfiguration(
|
|
commandName: "add",
|
|
abstract: "Install package(s) to the system.",
|
|
aliases: [ "a", "install" ])
|
|
|
|
@Argument(help: "One or more package names to install to the system.")
|
|
var packages: [String]
|
|
|
|
func run() throws {
|
|
eprint("installing \"\(packages.joined(separator: "\", \""))\"")
|
|
}
|
|
}
|