mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-03 21:41:31 +00:00
18 lines
462 B
Swift
18 lines
462 B
Swift
// 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 {
|
|
print("installing \"\(packages.joined(separator: "\", \""))\"")
|
|
}
|
|
}
|