"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const SessionCommand_1 = require("../utils/SessionCommand");
const session_1 = require("../managers/session");
const console_1 = require("../utils/console");
class LogoutCommand extends SessionCommand_1.default {
    async init() {
        const { flags } = this.parse(LogoutCommand);
        // await this.initSession(flags)
        console_1.default.debug("Logout command");
    }
    async run() {
        // const {flags, args} = this.parse(LogoutCommand)
        session_1.default.destroy();
    }
}
LogoutCommand.description = `Describe the command here
  ...
  Extra documentation goes here
  `;
LogoutCommand.flags = {
// name: flags.string({char: 'n', description: 'name to print'}),
};
LogoutCommand.args = [
    {
        name: "package", // name of arg to show in help and reference with args[name]
        required: false, // make the arg required with `required: true`
        description: "The unique string that identifies this package on learnpack", // help description
        hidden: false, // hide this arg from help
    },
];
exports.default = LogoutCommand;
