This PR introduces a comprehensive dependency checking system and refactors the script's global state for better maintainability.
Key Changes:
Dependency Check: Added --check-deps flag to produce a colorized report of all required and optional dependencies.
Truecolor Detection: Improved terminal swatch reliability by checking for 24-bit color support.
Global Refactoring: Consolidated color ANSI codes and directory paths into global constants.
Installation Improvements: Enhanced --install with a more robust directory creation loop and colorized feedback.
Documentation: Updated README.md with a clearer breakdown of core vs. optional prerequisites.
Verified with the existing test suite (14/14 PASS).
This PR introduces a comprehensive dependency checking system and refactors the script's global state for better maintainability.
### Key Changes:
- **Dependency Check:** Added `--check-deps` flag to produce a colorized report of all required and optional dependencies.
- **Truecolor Detection:** Improved terminal swatch reliability by checking for 24-bit color support.
- **Global Refactoring:** Consolidated color ANSI codes and directory paths into global constants.
- **Installation Improvements:** Enhanced `--install` with a more robust directory creation loop and colorized feedback.
- **Documentation:** Updated `README.md` with a clearer breakdown of core vs. optional prerequisites.
Verified with the existing test suite (14/14 PASS).
- Implement check_deps function and --check-deps flag for environment validation.
- Add truecolor support detection for terminal swatches.
- Colorize --install output and stylized logo.
- Refactor script to use global constants for colors and paths.
- Improve installation logic with robust directory creation.
- Update README.md and --help with new flag and detailed prerequisites.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR introduces a comprehensive dependency checking system and refactors the script's global state for better maintainability.
Key Changes:
--check-depsflag to produce a colorized report of all required and optional dependencies.--installwith a more robust directory creation loop and colorized feedback.README.mdwith a clearer breakdown of core vs. optional prerequisites.Verified with the existing test suite (14/14 PASS).