Skip to main content

resolve_cli

Function resolve_cli 

Source
pub fn resolve_cli(forge: Forge) -> Result<PathBuf, RkError>
Expand description

Resolve the forge CLI once, at context time: the RK_GH_BIN and RK_GLAB_BIN overrides first, then a PATH search.

Not found and not executable are distinct failures, in the shell convention. rk branches prune shares it for the verify path.

ยงErrors

Refuses when the override or the search resolves no usable binary.