mirror of
http://10.0.2.1:3031/sauer/claude-code.git
synced 2026-06-30 20:46:58 +10:00
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
|