help text
This commit is contained in:
+4
-1
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user