Skip to main content

run_update

Function run_update 

Source
pub fn run_update(
    tool: &Tool,
    check_only: bool,
    force: bool,
) -> Result<(), Box<dyn Error>>
Expand description

The update command: report the latest release and, unless check_only, replace the running executable with it. force reinstalls even when up to date. A cargo install is pointed at cargo install instead.