mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Add uv tool uninstall
(#4641)
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
This commit is contained in:
parent
8d9b4a5e1c
commit
7da3423af9
10 changed files with 239 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue