Allow multiple packages for uv tool upgrade/uninstall (#7037)
## Summary Resolves https://github.com/astral-sh/uv/issues/6571 ## Test Plan `cargo test`
This commit is contained in:
@@ -3196,7 +3196,7 @@ pub struct ToolDirArgs {
|
||||
pub struct ToolUninstallArgs {
|
||||
/// The name of the tool to uninstall.
|
||||
#[arg(required = true)]
|
||||
pub name: Option<PackageName>,
|
||||
pub name: Option<Vec<PackageName>>,
|
||||
|
||||
/// Uninstall all tools.
|
||||
#[arg(long, conflicts_with("name"))]
|
||||
@@ -3208,7 +3208,7 @@ pub struct ToolUninstallArgs {
|
||||
pub struct ToolUpgradeArgs {
|
||||
/// The name of the tool to upgrade.
|
||||
#[arg(required = true)]
|
||||
pub name: Option<PackageName>,
|
||||
pub name: Vec<PackageName>,
|
||||
|
||||
/// Upgrade all tools.
|
||||
#[arg(long, conflicts_with("name"))]
|
||||
|
||||
Reference in New Issue
Block a user