claude-code-best/src/commands/logout/index.ts
y574444354 824f09c34c chore: 更新配置和组件文件
- 更新 README_EN.md
- 更新认证和登录相关处理
- 更新登出功能
- 更新 AutoModeOptInDialog 和 Onboarding 组件
- 更新主入口文件
- 更新测试 fixtures
- 添加 docs/config-list.md
2026-04-09 15:42:48 +08:00

11 lines
340 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 CoStrict account',
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
load: () => import('./logout.js'),
} satisfies Command