UNPKG

alwaysai

Version:

The alwaysAI command-line interface (CLI)

19 lines 614 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const alwayscli_1 = require("@alwaysai/alwayscli"); const credentials_store_1 = require("../../util/credentials-store"); exports.userLogout = alwayscli_1.createLeaf({ name: 'logout', description: 'Log out of the alwaysAI Cloud', options: {}, async action() { try { await credentials_store_1.credentialsStore.clear(); return 'Logged out successfully'; } catch (_a) { return 'An error occurred logging out'; } }, }); //# sourceMappingURL=logout.js.map