mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Enable constraints in uv tool upgrade
CLI (#9375)
## Summary Closes https://github.com/astral-sh/uv/issues/9321.
This commit is contained in:
parent
0158717ae6
commit
5759cb9891
8 changed files with 76 additions and 23 deletions
|
@ -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"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue