Tags: ai-screams/scoop-uv
Tags
feat(doctor): add ShellCheck, VersionCheck, --fix and enhanced diagno… …stics (#23) * feat(doctor): add doctor command for system diagnostics - Add `scoop doctor` command to diagnose installation issues - Check uv installation, scoop directories, shell integration - Support verbose mode (-v, -vv, -vvv) for detailed output - Add JSON output format (--json) for scripting - Implement check result types: OK, WARN, ERROR with suggestions * refactor(cli): restructure options scope and command ordering - Move --json to list and doctor commands only - Move --verbose to doctor command only - Keep --quiet and --no-color as global options - Reorder commands by usage frequency: list → use → create → remove → install → uninstall → doctor → init → completions - Reorder use options: --link → --global → --no-link * feat(shell): improve completion UX with preserved ordering - Reorder completion suggestions by usage frequency - Add smart filtering for already-used options - Disable alphabetical sorting in completions: - Bash: add -o nosort to complete command - Zsh: add -V flag to _describe, zstyle sort false - Add global options (-q, --no-color) to all command completions * feat(doctor): add ShellCheck, VersionCheck, --fix and enhanced UvCheck New diagnostic checks: - ShellCheck: Verifies shell config has `scoop init` setup - Detects shell type from $SHELL environment variable - Checks ~/.zshrc or ~/.bashrc for scoop init command - VersionCheck: Validates global/local version file references - Ensures referenced environments actually exist Auto-repair with --fix option: - HomeCheck: Creates missing ~/.scoop directory structure - SymlinkCheck: Repairs broken Python symlinks by: - Reading metadata or pyvenv.cfg for Python version - Finding Python installation via uv - Recreating the symlink Improved UvCheck: - Provides OS-specific installation guidance - macOS: brew install uv OR curl script - Windows: PowerShell command - Linux: curl script - Better error messages with context
PreviousNext