From b5986887bed0d8bf1a4d118a05d98cf251506785 Mon Sep 17 00:00:00 2001 From: Ross Andrews Date: Sun, 10 May 2026 20:03:50 -0500 Subject: [PATCH] help text --- src/parsing.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/parsing.rs b/src/parsing.rs index 0afb063..9a61077 100644 --- a/src/parsing.rs +++ b/src/parsing.rs @@ -33,7 +33,7 @@ pub enum KeyType { } #[derive(Parser)] -#[command(name = "drawer")] +#[command(name = "drawer", about = "Encrypt and decrypt project directories as drawer files")] struct Cli { #[command(subcommand)] command: Command, @@ -41,6 +41,7 @@ struct Cli { #[derive(Subcommand)] enum Command { + /// Decrypt and expand a drawer file into a directory Open { drawer_file: PathBuf, target_path: Option, @@ -49,12 +50,14 @@ enum Command { #[arg(short = 'f')] force: bool, }, + /// Compress and encrypt a directory into a drawer file Close { drawer_file: PathBuf, target_path: Option, #[arg(short = 'i')] key: Option, }, + /// Generate a new SSH key and save it to a file Key { filename: PathBuf, },