Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Dec 7, 2024
1 parent 38cc61e commit 96d2757
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/ciphernode/enclave/src/commands/password/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub enum PasswordCommands {
password: Option<String>,

#[arg(short, long)]
overwrite: bool
overwrite: bool,
},

/// Delete the current password
Expand All @@ -30,7 +30,10 @@ pub enum PasswordCommands {

pub async fn execute(command: PasswordCommands, config: AppConfig) -> Result<()> {
match command {
PasswordCommands::Create { password, overwrite } => create::execute(&config, password, overwrite).await?,
PasswordCommands::Create {
password,
overwrite,
} => create::execute(&config, password, overwrite).await?,
PasswordCommands::Delete => delete::execute(&config).await?,
PasswordCommands::Overwrite { password } => overwrite::execute(&config, password).await?,
};
Expand Down

0 comments on commit 96d2757

Please sign in to comment.