Skip to content

Commit 2887443

Browse files
committed
Adopt AsyncParsableCommand for Root Command
1 parent 80cc33c commit 2887443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/hostmgr/HostMgrCommand.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Logging
44
import libhostmgr
55

66
@main
7-
struct Hostmgr: ParsableCommand {
7+
struct Hostmgr: AsyncParsableCommand {
88

99
private static var appVersion = "0.14.2"
1010

@@ -22,7 +22,7 @@ struct Hostmgr: ParsableCommand {
2222
]
2323
)
2424

25-
mutating func run() throws {
25+
mutating func run() async throws {
2626
Logger.initializeLoggingSystem()
2727

2828
logger.trace("Starting Up")

0 commit comments

Comments
 (0)