Skip to main content

command

Function command 

Source
pub fn command(version: Option<&str>) -> String
Expand description

The shell line that does the update.

curl or wget is chosen inside the shell rather than out here: the script itself already has to make that choice for every download it does, and one command -v in a string is smaller than a probe, an enum and a match.