Remove duplicate cache_dir argument from puffin-dev resolve-cli (#445)

This commit is contained in:
Zanie Blue 2023-11-17 11:17:00 -06:00 committed by GitHub
parent 221751487c
commit d39e9b3499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,4 @@
use std::fs;
use std::path::PathBuf;
use anstream::println;
use clap::Parser;
@ -18,9 +17,6 @@ pub(crate) struct ResolveCliArgs {
requirements: Vec<Requirement>,
#[clap(long)]
limit: Option<usize>,
/// Path to the cache directory.
#[arg(global = true, long, env = "PUFFIN_CACHE_DIR")]
cache_dir: Option<PathBuf>,
/// Don't build source distributions. This means resolving will not run arbitrary code. The
/// cached wheels of already built source distributions will be reused.
#[clap(long)]