source dump of claude code
at main 10 lines 341 B view raw
1import type { Command } from '../../commands.js' 2import { isEnvTruthy } from '../../utils/envUtils.js' 3 4export default { 5 type: 'local-jsx', 6 name: 'logout', 7 description: 'Sign out from your Anthropic account', 8 isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND), 9 load: () => import('./logout.js'), 10} satisfies Command