When using pip, I can run pip install --upgrade azure-cli to get the latest version of the azure-cli package built and installed (and thus the az binary gets updated if needed as well).
As far as I can tell, there isn't any way to do this with cargo install today.
At best, I can use cargo install --list | grep <Something> but that doesn't tell me if it's up-to-date.
Alternatively, cargo install <something> -f will force re-compile even if the binary is up-to-date and it's unnecessary.
Maybe there could be a cargo install --upgrade <something> functionality?
When using
pip, I can runpip install --upgrade azure-clito get the latest version of theazure-clipackage built and installed (and thus theazbinary gets updated if needed as well).As far as I can tell, there isn't any way to do this with
cargo installtoday.At best, I can use
cargo install --list | grep <Something>but that doesn't tell me if it's up-to-date.Alternatively,
cargo install <something> -fwill force re-compile even if the binary is up-to-date and it's unnecessary.Maybe there could be a
cargo install --upgrade <something>functionality?