Add --package to uv sync (#5656)

## Summary

Closes https://github.com/astral-sh/uv/issues/5008.
This commit is contained in:
Charlie Marsh 2024-07-31 11:16:48 -04:00 committed by GitHub
parent 37a60a57e8
commit 176e9c4deb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 89 additions and 4 deletions

View file

@ -2008,6 +2008,10 @@ pub struct SyncArgs {
#[command(flatten)]
pub refresh: RefreshArgs,
/// Sync a specific package in the workspace.
#[arg(long)]
pub package: Option<PackageName>,
/// The Python interpreter to use to build the run environment.
///
/// By default, uv uses the virtual environment in the current working directory or any parent