alwaysai
Version:
The alwaysAI command-line interface (CLI)
19 lines • 623 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.userLogout = void 0;
const alwayscli_1 = require("@alwaysai/alwayscli");
const infrastructure_1 = require("../../infrastructure");
exports.userLogout = (0, alwayscli_1.CliLeaf)({
name: 'logout',
description: 'Log out of the alwaysAI Cloud',
async action() {
try {
(0, infrastructure_1.CliAuthenticationClient)().signOut();
return 'Logged out successfully';
}
catch (_a) {
return 'An error occurred logging out';
}
}
});
//# sourceMappingURL=logout.js.map