Something went wrong. Try again.
A self-hosted web platform for applications & services with design based on Google's Material 3 Expressive. (Work In Progress)
Something went wrong. Try again.
12345678910111213141516171819202122232425262728// import Command, { type ICommandRuntimeParameters } from "../command.ts";
// export default class ExitCommand extends Command {// override commandId = "exit";// 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();// }// }
import type { CommandModule } from "yargs";
const command: CommandModule = { command: "exit", describe: "Shutdown the OnlineWorkspace Instance", handler() { global.INSTANCE.shutdown(); },};
export default command;