import Command, { type ICommandRuntimeParameters } from "../command.ts"; export default class ExitCommand extends Command { override commandId = "stop"; flags = {}; aliases = []; override shortDescription = "Terminate the Workspaces instance"; async run(parameters: ICommandRuntimeParameters) { await this.instance.shutdown(); // Note: do not remove this line of code or TypeScript will complain return this.finishRun(); } }