From 2864cc9fb149dc564c7db69fdef187b480dd4fd0 Mon Sep 17 00:00:00 2001 From: gibbz00 Date: Thu, 4 Jan 2024 14:35:07 +0100 Subject: [PATCH] CLI: Add encrypt (e) and decrypt (d) subcommand aliases. --- crates/cli/src/args.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/cli/src/args.rs b/crates/cli/src/args.rs index e1f4bc9..5599b22 100644 --- a/crates/cli/src/args.rs +++ b/crates/cli/src/args.rs @@ -20,7 +20,9 @@ pub struct CliArgs { // use rops::RopsFileBuilder; #[derive(Parser)] pub enum CliCommand { + #[command(visible_alias = "e")] Encrypt(EncryptArgs), + #[command(visible_alias = "d")] Decrypt, }