UNPKG

convex

Version:

Client for the Convex Cloud

15 lines (14 loc) 590 B
"use strict"; import { Command } from "@commander-js/extra-typings"; import { logFinishedStep, oneoffContext } from "../bundler/context.js"; import { globalConfigPath } from "./lib/utils/utils.js"; import { recursivelyDelete } from "./lib/fsUtils.js"; export const logout = new Command("logout").description("Log out of Convex on this machine").action(async () => { const ctx = oneoffContext; recursivelyDelete(ctx, globalConfigPath()); logFinishedStep( ctx, "You have been logged out of Convex.\n Run `npx convex dev` to log in." ); }); //# sourceMappingURL=logout.js.map