feat: Add --digest CLI option to select digest type
This commit is contained in:
@@ -105,9 +105,17 @@ struct ItemArgs {
|
||||
#[arg(help("Set metadata for the item using the format KEY=[VALUE], the metadata will be removed if VALUE is not provided"))]
|
||||
meta: Vec<KeyValue>,
|
||||
|
||||
#[arg(help_heading("Item Options"), short, long, env("KEEP_DIGEST"))]
|
||||
#[arg(help("Digest algorithm to use when saving items"))]
|
||||
digest: Option<String>,
|
||||
|
||||
#[arg(help_heading("Item Options"), short, long, env("KEEP_COMPRESSION"))]
|
||||
#[arg(help("Compression algorithm to use when saving items"))]
|
||||
compression: Option<String>,
|
||||
|
||||
#[arg(help_heading("Item Options"), short, long, env("KEEP_DIGEST"))]
|
||||
#[arg(help("Digest algorithm to use when saving items"))]
|
||||
digest: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user