Add support for UV_EXTRA_INDEX_URL (#1515)

Closes https://github.com/astral-sh/uv/issues/1450
This commit is contained in:
Zanie Blue 2024-02-16 12:54:58 -06:00 committed by GitHub
parent 2ea44d863a
commit d5e8531ae3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ pub(crate) struct ResolveCliArgs {
exclude_newer: Option<DateTime<Utc>>,
#[clap(long, short, default_value = IndexUrl::Pypi.as_str(), env = "UV_INDEX_URL")]
index_url: IndexUrl,
#[clap(long)]
#[clap(long, env = "UV_EXTRA_INDEX_URL")]
extra_index_url: Vec<IndexUrl>,
#[clap(long)]
find_links: Vec<FlatIndexLocation>,