diff --git a/Scripting/UTM.sdef b/Scripting/UTM.sdef index a9c4e3466..726b35b19 100644 --- a/Scripting/UTM.sdef +++ b/Scripting/UTM.sdef @@ -105,7 +105,6 @@ - diff --git a/utmctl/UTMCtl.swift b/utmctl/UTMCtl.swift index 4f48a7ea3..2b78dd723 100644 --- a/utmctl/UTMCtl.swift +++ b/utmctl/UTMCtl.swift @@ -36,7 +36,6 @@ struct UTMCtl: ParsableCommand { IPAddress.self, Clone.self, Delete.self, - Export.self, USB.self ] ) @@ -523,27 +522,6 @@ extension UTMCtl { } } -extension UTMCtl { - struct Export: UTMAPICommand { - static var configuration = CommandConfiguration( - abstract: "Export a virtual machine and all its data to a specified location." - ) - - @OptionGroup var environment: EnvironmentOptions - - @OptionGroup var identifer: VMIdentifier - - @Option var path: String - - func run(with application: UTMScriptingApplication) throws { - let vm = try virtualMachine(forIdentifier: identifer, in: application) - // TODO: Make sure the URL is writable as required by data.export - let exportUrl = URL(fileURLWithPath: path) - vm.exportTo!(exportUrl) - } - } -} - extension UTMCtl { struct USB: ParsableCommand { static var configuration = CommandConfiguration(