mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Restore "Support python find --script
(#11891)"
Let's see if this reproduces in a PR now... --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
bdef77c3fe
commit
26d40cb8a5
7 changed files with 270 additions and 13 deletions
|
@ -4740,6 +4740,16 @@ pub struct PythonFindArgs {
|
|||
|
||||
#[arg(long, overrides_with("system"), hide = true)]
|
||||
pub no_system: bool,
|
||||
|
||||
/// Find the environment for a Python script, rather than the current project.
|
||||
#[arg(
|
||||
long,
|
||||
conflicts_with = "request",
|
||||
conflicts_with = "no_project",
|
||||
conflicts_with = "system",
|
||||
conflicts_with = "no_system"
|
||||
)]
|
||||
pub script: Option<PathBuf>,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue