Răsfoiți Sursa

chore:change cli command name from Pay to Melt

mubarak23 4 luni în urmă
părinte
comite
2905b36a1c
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      crates/cdk-cli/src/main.rs

+ 2 - 2
crates/cdk-cli/src/main.rs

@@ -51,7 +51,7 @@ enum Commands {
     /// Balance
     Balance,
     /// Pay bolt11 invoice
-    Pay(sub_commands::melt::MeltSubCommand),
+    Melt(sub_commands::melt::MeltSubCommand),
     /// Claim pending mint quotes that have been paid
     MintPending,
     /// Receive token
@@ -158,7 +158,7 @@ async fn main() -> Result<()> {
             sub_commands::decode_token::decode_token(sub_command_args)
         }
         Commands::Balance => sub_commands::balance::balance(&multi_mint_wallet).await,
-        Commands::Pay(sub_command_args) => {
+        Commands::Melt(sub_command_args) => {
             sub_commands::melt::pay(&multi_mint_wallet, sub_command_args).await
         }
         Commands::Receive(sub_command_args) => {