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.

442 B
Raw Blame
import ArgumentParser
import Foundation

struct Prune: AsyncParsableCommand {
    static let configuration: CommandConfiguration = CommandConfiguration(
        commandName: "prune",
        abstract: "Remove cached images"
    )
    
    init() {
    }
    
    @MainActor
    func run() async throws {
        let manager = LumeController()
        try await manager.pruneImages()
        print("Successfully removed cached images")
    }
}