try implementing a command that can search the index for packages

This commit is contained in:
2024-11-15 19:54:35 +11:00
parent 14bd390114
commit 7e403d64e0
11 changed files with 206 additions and 61 deletions

View File

@ -6,7 +6,7 @@
import ArgumentParser
@main
struct DarwinApkCLI: ParsableCommand {
struct DarwinApkCLI: AsyncParsableCommand {
static let configuration = CommandConfiguration(
commandName: "dpk",
abstract: "Command-line interface for managing packages installed via darwin-apk.",
@ -14,6 +14,7 @@ struct DarwinApkCLI: ParsableCommand {
DpkInstallCommand.self,
DpkRemoveCommand.self,
DpkUpdateCommand.self,
DpkUpgradeCommand.self
DpkUpgradeCommand.self,
DpkSearchCommand.self
])
}