mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 00:05:51 +00:00
11 lines
342 B
TypeScript
11 lines
342 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 configured account',
|
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
|
load: () => import('./logout.js'),
|
|
} satisfies Command
|