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, },