Skip to content

CLI: make doctor pretty output human-readable #1242

@Timi16

Description

@Timi16

Overview

The doctor command prints raw JSON values in pretty mode, which is hard to scan.

Background

Diagnostics is already present in the repository, but the current implementation leaves a concrete gap for users or maintainers. Relevant files: src/cli/commands.rs, docs/troubleshooting-index.md.

Specifications

  • Render named sections with clear status lines.
  • Show binary, config, history, plugins, protocol, remote, and VS Code checks.
  • Keep JSON mode unchanged.
  • Use warnings for failed checks.

Acceptance Criteria

  • Behavior is covered by focused tests or documented manual verification.
  • Errors are handled gracefully with actionable suggestions.
  • Help text or docs are updated when the user-facing behavior changes.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions