Skip to main content

missing_binary_for

Function missing_binary_for 

Source
pub fn missing_binary_for(launcher: &ResolvedLauncher) -> Option<String>
Expand description

Probe whether the resolved launcher’s binary exists on $PATH. Used by gwm doctor to emit a warning (exit code 1) when the configured review/git_tui binary is missing — the launcher itself is opt-in, so this is advisory, not a hard failure.

Returns the binary name on miss so the doctor check can include it in the message verbatim (“not on PATH: lumen”). Returns None if the binary resolves or if the launcher has no parseable argv.