Enable constraints in uv tool upgrade CLI (#9375)
## Summary Closes https://github.com/astral-sh/uv/issues/9321.
This commit is contained in:
@@ -3849,9 +3849,9 @@ pub struct ToolUninstallArgs {
|
||||
#[derive(Args)]
|
||||
#[allow(clippy::struct_excessive_bools)]
|
||||
pub struct ToolUpgradeArgs {
|
||||
/// The name of the tool to upgrade.
|
||||
/// The name of the tool to upgrade, along with an optional version specifier.
|
||||
#[arg(required = true)]
|
||||
pub name: Vec<PackageName>,
|
||||
pub name: Vec<String>,
|
||||
|
||||
/// Upgrade all tools.
|
||||
#[arg(long, conflicts_with("name"))]
|
||||
|
||||
Reference in New Issue
Block a user