mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 02:22:19 +00:00
Add --with-editable
support to uv run
(#6262)
Closes https://github.com/astral-sh/uv/issues/6254
This commit is contained in:
parent
c3c05c4602
commit
f10ccc488e
6 changed files with 166 additions and 2 deletions
|
@ -2140,6 +2140,14 @@ pub struct RunArgs {
|
|||
#[arg(long)]
|
||||
pub with: Vec<String>,
|
||||
|
||||
/// Run with the given packages installed as editables
|
||||
///
|
||||
/// When used in a project, these dependencies will be layered on top of
|
||||
/// the project environment in a separate, ephemeral environment. These
|
||||
/// dependencies are allowed to conflict with those specified by the project.
|
||||
#[arg(long)]
|
||||
pub with_editable: Vec<String>,
|
||||
|
||||
/// Run with all packages listed in the given `requirements.txt` files.
|
||||
///
|
||||
/// The same environment semantics as `--with` apply.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue