Add uv tool uninstall (#4641)

Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
This commit is contained in:
Zanie Blue 2024-06-29 13:50:20 -04:00 committed by GitHub
parent 8d9b4a5e1c
commit 7da3423af9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 239 additions and 5 deletions

View file

@ -1875,6 +1875,8 @@ pub enum ToolCommand {
Install(ToolInstallArgs),
/// List installed tools.
List(ToolListArgs),
/// Uninstall a tool.
Uninstall(ToolUninstallArgs),
}
#[derive(Args)]
@ -1975,6 +1977,12 @@ pub struct ToolInstallArgs {
#[allow(clippy::struct_excessive_bools)]
pub struct ToolListArgs;
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct ToolUninstallArgs {
pub name: String,
}
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct ToolchainNamespace {