Expand description
Cross-platform helpers for binary resolution and terminal capability detection.
resolve_npm_cli exists because npm-installed CLIs on Windows ship as .cmd or
.ps1 shims rather than .exe, and std::process::Command::new("name") does
not always pick them up depending on how PATHEXT is configured.
unicode_support_enabled centralizes the heuristic used by the interactive UI
to decide between Unicode box-drawing and ASCII fallback.
Functions§
- resolve_
npm_ cli - Resolve a Node/npm-style CLI name to an executable path.
- unicode_
support_ enabled - Decide whether the terminal supports Unicode box-drawing characters.