MCPcopy Index your code
hub / github.com/codeaashu/claude-code / authLogout

Function authLogout

src/cli/handlers/auth.ts:321–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319}
320
321export async function authLogout(): Promise<void> {
322 try {
323 await performLogout({ clearOnboarding: false })
324 } catch {
325 process.stderr.write('Failed to log out.\n')
326 process.exit(1)
327 }
328 process.stdout.write('Successfully logged out from your Anthropic account.\n')
329 process.exit(0)
330}
331
332

Callers 1

runFunction · 0.85

Calls 2

performLogoutFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected