mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-20 03:49:54 +00:00
Accept multiple packages in uv sync (#16543)
## Summary Closes https://github.com/astral-sh/uv/issues/12130. --------- Co-authored-by: Zanie Blue <contact@zanie.dev> Co-authored-by: konsti <konstin@mailbox.org>
This commit is contained in:
parent
60a811e715
commit
9a6eafc043
8 changed files with 265 additions and 86 deletions
|
|
@ -3669,14 +3669,14 @@ pub struct SyncArgs {
|
|||
#[arg(long, conflicts_with = "package")]
|
||||
pub all_packages: bool,
|
||||
|
||||
/// Sync for a specific package in the workspace.
|
||||
/// Sync for specific packages in the workspace.
|
||||
///
|
||||
/// The workspace's environment (`.venv`) is updated to reflect the subset of dependencies
|
||||
/// declared by the specified workspace member package.
|
||||
/// declared by the specified workspace member packages.
|
||||
///
|
||||
/// If the workspace member does not exist, uv will exit with an error.
|
||||
/// If any workspace member does not exist, uv will exit with an error.
|
||||
#[arg(long, conflicts_with = "all_packages")]
|
||||
pub package: Option<PackageName>,
|
||||
pub package: Vec<PackageName>,
|
||||
|
||||
/// Sync the environment for a Python script, rather than the current project.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue