The args passed to ConfirmInstall
Returned by rustbinCheck
Configures how rustbin checks/matches the installed binary with the installed library.
Returned by rustbinMatch
Prints information about the install about to happen to the console and confirms it.
Checks if the installed binary matches the installed library.
result of check including if the binary version satisfies the library version range
Checks if the installed binary matches the installed library.
If not it attempts to install the latest binary matching the library version
range via cargo install
.
result including the cmd
used to install the binary (if it was
necessary), the full path to said binary and the installed version of it
Queries version of the installed binary.
version of the installed binary or undefined
if the binary was
not found or the version string could not be parsed
Generated using TypeDoc
Function that can be passed to rustbinMatch to confirm the install step.
Return
true
if it should be installed andfalse
if not.This can also be used to print information about the install about to happen.