UNPKG

fedapay-cli

Version:
26 lines (25 loc) 707 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const command_1 = tslib_1.__importDefault(require("@oclif/command")); const user_config_1 = tslib_1.__importDefault(require("../helpers/user-config")); /** * Logout Class extending superClass Command */ class Logout extends command_1.default { async run() { const userConfig = new user_config_1.default(this.config.configDir); userConfig.clear(); } } exports.default = Logout; /** * @param string * Description of the logout command */ Logout.description = 'Logout of Fedapay account'; /** * @param string * logout usage */ Logout.usage = 'login [parameters...]';