mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-30 08:33:49 +00:00
Add --package
to uv sync
(#5656)
## Summary Closes https://github.com/astral-sh/uv/issues/5008.
This commit is contained in:
parent
37a60a57e8
commit
176e9c4deb
5 changed files with 89 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue