//// // runs commands and such. type CommandResult = { type: "ok" | "error" data: any } export function runCommand(input: string): CommandResult { return { type: "ok", data: "command: " + input } }