1 | "use strict";const e=require("../utils"),o=require("bluebird"),r=require("path"),t=e.messagesHandler;module.exports=function(){return o.coroutine(function*(){yield e.readCredentials();var o=e.getHomeDirectory(),l=r.join(o,"flow",".deploy");yield e.deleteFile(l),console.log(t("LOGOUT_SUCCESS"))})().catch(e=>{Console.warn(t("LOGOUT_FAILURE"))})},module.exports.argSpecs=[],module.exports.argOptionsSpecs={},module.exports.help="Destroys your deploy key",module.exports.snippet="flow logout",module.exports.docs="Logsout from Built.io Flow"; |