Skip to content

Commit c0b491e

Browse files
committed
refactor(cli): fold doctor into report
1 parent 3a1d44c commit c0b491e

5 files changed

Lines changed: 0 additions & 88 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ dvcode --session abc123
338338
| 命令 | 说明 |
339339
| :----------------- | :------------------------------------ |
340340
| `/help` | 显示帮助信息和快速入门指南 |
341-
| `/doctor` | 运行 CLI 快速诊断 |
342341
| `/report` | 生成诊断报告(默认复制到剪切板) |
343342
| `/history` | 查看最近输入历史 |
344343
| `/help-ask` | AI 智能帮助助手,解答使用问题 |

docs/cli/commands.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ Slash commands provide meta-level control over the CLI itself.
4545
- **`/help`** (or **`/?`**)
4646
- **Description:** Display help information about Gemini CLI, including available commands and their usage.
4747

48-
- **`/doctor`**
49-
- **Description:** Run quick diagnostics for the CLI environment (versions, build status, core dependencies).
50-
5148
- **`/report`**
5249
- **Description:** Generate a diagnostic report for sharing. Copies to clipboard by default.
5350

packages/cli/src/services/BuiltinCommandLoader.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { exportDebugCommand } from '../ui/commands/exportDebugCommand.js';
2323
import { extensionsCommand } from '../ui/commands/extensionsCommand.js';
2424
import { helpCommand } from '../ui/commands/helpCommand.js';
2525
import { helpAskCommand } from '../ui/commands/helpAskCommand.js';
26-
import { doctorCommand } from '../ui/commands/doctorCommand.js';
2726
import { reportCommand } from '../ui/commands/reportCommand.js';
2827
import { historyCommand } from '../ui/commands/historyCommand.js';
2928
import { ideCommand } from '../ui/commands/ideCommand.js';
@@ -90,7 +89,6 @@ export class BuiltinCommandLoader implements ICommandLoader {
9089
extensionsCommand,
9190
helpCommand,
9291
helpAskCommand,
93-
doctorCommand,
9492
reportCommand,
9593
historyCommand,
9694
hooksCommand,

packages/cli/src/ui/commands/doctorCommand.ts

Lines changed: 0 additions & 80 deletions
This file was deleted.

packages/cli/src/ui/utils/i18n.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,6 @@ export const translations = {
971971

972972
// Slash command descriptions
973973
'command.help.description': 'Get deepv-code help',
974-
'command.doctor.description': 'Run quick diagnostics for the CLI',
975974
'command.report.description': 'Generate a diagnostic report for sharing',
976975
'command.history.description': 'Show recent input history',
977976
'command.clear.description':
@@ -2577,7 +2576,6 @@ export const translations = {
25772576

25782577
// Slash command descriptions
25792578
'command.help.description': '获取 deepv-code 帮助',
2580-
'command.doctor.description': '运行 CLI 快速诊断',
25812579
'command.report.description': '生成可分享的诊断报告',
25822580
'command.history.description': '显示最近的输入历史',
25832581
'command.clear.description': '清除终端屏幕(保留对话上下文)',

0 commit comments

Comments
 (0)