Add x alias to extract command

Signed-off-by: trivernis <trivernis@protonmail.com>
main
trivernis 3 years ago
parent 2c77342398
commit 7d80d886ac
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

2
Cargo.lock generated

@ -845,7 +845,7 @@ checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
name = "universal-archiver"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anyhow",
"clap",

@ -3,7 +3,7 @@ name = "universal-archiver"
description = "A tool to unpack archives without having to specify the archive type."
repository = "https://github.com/Trivernis/universal-archiver.git"
authors = ["Trivernis <trivernis@pm.me>"]
version = "0.2.0"
version = "0.2.1"
edition = "2021"
keywords = ["compression", "extract-archive", "archiver", "cli"]
license = "MIT"

@ -16,6 +16,7 @@ struct Args {
#[derive(Debug, Clone, Subcommand)]
pub enum Operation {
/// Extracts a given file
#[clap(aliases=&["x"])]
Extract {
/// The file to extract
file: PathBuf,

Loading…
Cancel
Save