Rename PUFFIN environment variables to UV (#1319)

A couple of these are actually user-facing although undocumented
This commit is contained in:
Zanie Blue 2024-02-15 12:49:27 -06:00 committed by GitHub
parent 0579a04014
commit 0780afff95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 52 additions and 56 deletions

View file

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