(program: Command)
| 15 | type LogoutCommandOptions = z.infer<typeof LogoutCommandOptions>; |
| 16 | |
| 17 | export 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 | |
| 28 | export async function logoutCommand(options: unknown) { |
| 29 | return await wrapCommandAction("logoutCommand", LogoutCommandOptions, options, async (opts) => { |
no test coverage detected
searching dependent graphs…