From 2905b36a1c57eed4c49f7227c4e6d273564e0d80 Mon Sep 17 00:00:00 2001 From: mubarak23 Date: Wed, 23 Oct 2024 12:57:47 +0100 Subject: [PATCH] chore:change cli command name from Pay to Melt --- crates/cdk-cli/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cdk-cli/src/main.rs b/crates/cdk-cli/src/main.rs index 0de66bc51..c452b9523 100644 --- a/crates/cdk-cli/src/main.rs +++ b/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) => {