mirror of
http://10.0.2.1:3031/sauer/claude-code.git
synced 2026-06-30 12:56:58 +10:00
11 lines
341 B
TypeScript
11 lines
341 B
TypeScript
|
|
import type { Command } from '../../commands.js'
|
||
|
|
import { isEnvTruthy } from '../../utils/envUtils.js'
|
||
|
|
|
||
|
|
export default {
|
||
|
|
type: 'local-jsx',
|
||
|
|
name: 'logout',
|
||
|
|
description: 'Sign out from your Anthropic account',
|
||
|
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
||
|
|
load: () => import('./logout.js'),
|
||
|
|
} satisfies Command
|