Fix no vm message, bump to 0.1.7

This commit is contained in:
f-trycua
2025-02-06 00:37:46 +01:00
parent d95235d990
commit 4c89d488a2
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -14,6 +14,10 @@ struct List: AsyncParsableCommand {
func run() async throws {
let manager = LumeController()
let vms = try manager.list()
VMDetailsPrinter.printStatus(vms)
if vms.isEmpty {
print("No virtual machines found")
} else {
VMDetailsPrinter.printStatus(vms)
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ struct Lume: AsyncParsableCommand {
// MARK: - Version Management
extension Lume {
enum Version {
static let current: String = "0.1.6"
static let current: String = "0.1.7"
}
}