help text

This commit is contained in:
2026-05-10 20:03:50 -05:00
parent 9d4a7952bc
commit b5986887be
+4 -1
View File
@@ -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<PathBuf>,
@@ -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<PathBuf>,
#[arg(short = 'i')]
key: Option<PathBuf>,
},
/// Generate a new SSH key and save it to a file
Key {
filename: PathBuf,
},