Skip to main content

check_gh_available

Function check_gh_available 

Source
pub fn check_gh_available() -> Result<()>
Expand description

Return Ok(()) if the gh CLI is installed and reachable in PATH.

Returns PrError::GhNotInstalled if gh cannot be executed.