Enhanced bash-it doctor with comprehensive diagnostics and interactive updates #2341
+227
−36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Enhances the
bash-it doctorcommand to provide comprehensive diagnostic information and interactive update prompts, addressing the feature request in #1745.Changes
1. Comprehensive Diagnostic Summary
The default
bash-it doctor(no arguments) now displays:Environment Information
Version Information
Configuration Loading Details
Enabled Components
2. Interactive Update Prompt
When behind remote master, offers to update with safety checks:
git merge --ff-onlyfor safetybash-it updatefor complex cases3. Colorful Terminal Output
4. Documentation & Templates
bash-it doctoroutput instead of 5+ separate fieldsUse Cases
For Users:
bash-it doctor # Get complete diagnostic info + update prompt if neededFor Bug Reports:
Single command provides all diagnostic info maintainers need, reducing back-and-forth
For System Health Checks:
Quickly see version status, enabled components, and update availability
Testing
Closes
Closes #1745
Screenshots
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]