Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Fix no vm message, bump to 0.1.7

f-trycua4c89d488a275
diff --git a/src/Commands/List.swift b/src/Commands/List.swift
index a5bfdad0b2..6b1fd8508a 100644
--- a/src/Commands/List.swift
+++ b/src/Commands/List.swift
@@ -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)
+ }
}
}
\ No newline at end of file
diff --git a/src/Main.swift b/src/Main.swift
index 81e01f884a..d0fc47b9dd 100644
--- a/src/Main.swift
+++ b/src/Main.swift
@@ -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"
}
}