13 lines
381 B
TypeScript
13 lines
381 B
TypeScript
import type { Command } from '../../commands.js'
|
|
import { isEnvTruthy } from '../../utils/envUtils.js'
|
|
|
|
const doctor: Command = {
|
|
name: 'doctor',
|
|
description: 'Diagnose and verify your Claude Code installation and settings',
|
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
|
|
type: 'local-jsx',
|
|
load: () => import('./doctor.js'),
|
|
}
|
|
|
|
export default doctor
|