Discover Packages
github.com/musher-dev/mush
internal
doctor
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Feb 14, 2026
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package doctor provides diagnostic checks for Mush CLI health.
This package implements a check framework that validates:
API connectivity and response time
Authentication status and credential source
Claude CLI availability and version
CLI version against latest release
func Summary(results []Result ) (passed, failed, warnings int )
Summary returns counts of passed, failed, and warning checks.
Check is a diagnostic check function.
Result holds the outcome of a single check.
Runner executes diagnostic checks.
New creates a new diagnostic runner.
AddCheck registers a diagnostic check.
Run executes all registered checks and returns the results.
Status represents the result of a diagnostic check.
const (
StatusPass Status = iota
StatusWarn
StatusFail
)
Symbol returns the status symbol for display.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.