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:
Aria Desires 2025-03-21 11:31:43 -04:00 committed by GitHub
parent bdef77c3fe
commit 26d40cb8a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 270 additions and 13 deletions

View file

@ -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)]