exclude_newer in puffin-dev resolve-cli (#684)
Internal dev tool change.
This commit is contained in:
Generated
+1
@@ -2401,6 +2401,7 @@ version = "0.0.1"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
"chrono",
|
||||
"clap",
|
||||
"colored",
|
||||
"distribution-filename",
|
||||
|
||||
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user