mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
exclude_newer
in puffin-dev resolve-cli (#684)
Internal dev tool change.
This commit is contained in:
parent
7926749296
commit
89ca0d68b9
3 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,7 @@ puffin-traits = { path = "../puffin-traits" }
|
|||
|
||||
anstream = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
clap = { workspace = true, features = ["derive"] }
|
||||
colored = { workspace = true }
|
||||
fs-err = { workspace = true }
|
||||
|
|
|
@ -3,6 +3,7 @@ use std::path::PathBuf;
|
|||
|
||||
use anstream::println;
|
||||
use anyhow::{Context, Result};
|
||||
use chrono::{DateTime, Utc};
|
||||
use clap::{Parser, ValueEnum};
|
||||
use fs_err as fs;
|
||||
use fs_err::File;
|
||||
|
@ -40,6 +41,8 @@ pub(crate) struct ResolveCliArgs {
|
|||
format: ResolveCliFormat,
|
||||
#[command(flatten)]
|
||||
cache_args: CacheArgs,
|
||||
#[arg(long)]
|
||||
exclude_newer: Option<DateTime<Utc>>,
|
||||
}
|
||||
|
||||
pub(crate) async fn resolve_cli(args: ResolveCliArgs) -> Result<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue