Files
2026-09-08 20:28:54 +08:00

17 lines
433 B
JavaScript

const commands = {};
/**
* Delete the particular Simulator from available devices list.
*
* @throws {Error} If the corresponding simctl subcommand command
* returns non-zero return code.
* @throws {Error} If the `udid` instance property is unset
*/
commands.deleteDevice = async function deleteDevice () {
await this.exec('delete', {
args: [this.requireUdid('delete')]
});
};
export default commands;