feat: dependency check system and global refactor #12

Merged
rootiest merged 1 commits from feat/dependency-check-and-refactor into main 2026-05-05 01:46:28 +00:00
Owner

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).
rootiest added 1 commit 2026-05-05 01:44:35 +00:00
feat: add dependency check and refactor global state
Auto Label PRs / label (pull_request) Successful in 2s
Test PR / test (pull_request) Successful in 7s
Release on Merge / release (pull_request) Successful in 5s
def2127ed6
- 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.
rootiest added the Kind/Enhancement label 2026-05-05 01:46:09 +00:00
rootiest merged commit e5bbc5ae19 into main 2026-05-05 01:46:28 +00:00
rootiest deleted branch feat/dependency-check-and-refactor 2026-05-05 01:46:28 +00:00
Sign in to join this conversation.