MCPcopy
hub / github.com/triggerdotdev/trigger.dev / configureLogoutCommand

Function configureLogoutCommand

packages/cli-v3/src/commands/logout.ts:17–26  ·  view source on GitHub ↗
(program: Command)

Source from the content-addressed store, hash-verified

15type LogoutCommandOptions = z.infer<typeof LogoutCommandOptions>;
16
17export function configureLogoutCommand(program: Command) {
18 return commonOptions(program.command("logout").description("Logout of Trigger.dev")).action(
19 async (options) => {
20 await handleTelemetry(async () => {
21 await printInitialBanner(false);
22 await logoutCommand(options);
23 });
24 }
25 );
26}
27
28export async function logoutCommand(options: unknown) {
29 return await wrapCommandAction("logoutCommand", LogoutCommandOptions, options, async (opts) => {

Callers 1

index.tsFile · 0.85

Calls 4

commonOptionsFunction · 0.85
handleTelemetryFunction · 0.85
printInitialBannerFunction · 0.85
logoutCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…