From 045045313eb708b5a0da06033eaa3567bb1a209d Mon Sep 17 00:00:00 2001 From: Altbierjupp Date: Tue, 25 Oct 2022 09:04:11 +0200 Subject: [PATCH] remove changes in CLI --- cashu/wallet/cli.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cashu/wallet/cli.py b/cashu/wallet/cli.py index cc7378c..4a6b6ef 100755 --- a/cashu/wallet/cli.py +++ b/cashu/wallet/cli.py @@ -74,7 +74,7 @@ def coro(f): return wrapper -@cli.command("invoice", help="Generate a BOLT11 Lightning invoice to fund your Cashu wallet.") +@cli.command("invoice", help="Create Lighting invoice.") @click.argument("amount", type=int) @click.option("--hash", default="", help="Hash of the paid invoice.", type=str) @click.pass_context @@ -120,7 +120,11 @@ async def invoice(ctx, amount: int, hash: str): return +<<<<<<< HEAD @cli.command("pay", help="Pay a Lightning invoice to send you tokens from the mint back into the Lightning Network.") +======= +@cli.command("pay", help="Pay Lightning invoice.") +>>>>>>> parent of 352d053 (Adjust some help for CLI) @click.argument("invoice", type=str) @click.option( "--yes", "-y", default=False, is_flag=True, help="Skip confirmation.", type=bool @@ -220,8 +224,12 @@ async def receive(ctx, coin: str, lock: str): wallet.status() +<<<<<<< HEAD @cli.command("burn", help="Burn spent coins. After spending some coins you need to burn them to prevent the wallet to do a double spent." "This will be blocked by the mint, cause it holds the info about all spent coins.") +======= +@cli.command("burn", help="Burn spent coins.") +>>>>>>> parent of 352d053 (Adjust some help for CLI) @click.argument("coin", required=False, type=str) @click.option("--all", "-a", default=False, is_flag=True, help="Burn all spent coins.") @click.option( @@ -251,8 +259,12 @@ async def burn(ctx, coin: str, all: bool, force: bool): wallet.status() +<<<<<<< HEAD @cli.command("pending", help="Show pending coins. This shows all the coins that was already used to send, but not claimed yet by the receiver." "If you want to cancel the send, you can claim the coins again with the receive command.") +======= +@cli.command("pending", help="Show pending coins.") +>>>>>>> parent of 352d053 (Adjust some help for CLI) @click.pass_context @coro async def pending(ctx):