Allow updating a tool using rye tools update rather than having to install -f it.
Current workflow:
$ rye tools install uv
error: package already installed
$ rye tools
Helper utility to manage global tools
Usage: rye tools <COMMAND>
Commands:
install Installs a package as global tool
uninstall Uninstalls a global tool
list List all registered tools
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
$ rye tools install -f uv
Resolved 1 package in 184ms
Prepared 1 package in 205ms
Installed 1 package in 0.76ms
+ uv==0.2.32
Installed scripts:
- uv
- uvx
Expected workflow:
$ rye tools update uv
Resolved 1 package in 184ms
Prepared 1 package in 205ms
Installed 1 package in 0.76ms
+ uv==0.2.32
Installed scripts:
- uv
- uvx
Allow updating a tool using
rye tools update
rather than having toinstall -f
it.Current workflow:
Expected workflow: