"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const base_command_1 = require("./base-command");
const app_1 = require("./app");
const locale_1 = require("@joplin/lib/locale");
class Command extends base_command_1.default {
    usage() {
        return 'exit';
    }
    description() {
        return (0, locale_1._)('Exits the application.');
    }
    compatibleUis() {
        return ['gui'];
    }
    async action() {
        await (0, app_1.default)().exit();
    }
}
module.exports = Command;
//# sourceMappingURL=command-exit.js.map