mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 19:14:19 +01:00
Update cli.py
This commit is contained in:
@@ -120,7 +120,7 @@ async def invoice(ctx, amount: int, hash: str):
|
|||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
@cli.command("pay", help="Pay a Lightning invoice to send you tokens from the mint into the Lightning Network.")
|
@cli.command("pay", help="Pay a Lightning invoice to send you tokens from the mint back into the Lightning Network.")
|
||||||
@click.argument("invoice", type=str)
|
@click.argument("invoice", type=str)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--yes", "-y", default=False, is_flag=True, help="Skip confirmation.", type=bool
|
"--yes", "-y", default=False, is_flag=True, help="Skip confirmation.", type=bool
|
||||||
@@ -251,8 +251,8 @@ async def burn(ctx, coin: str, all: bool, force: bool):
|
|||||||
wallet.status()
|
wallet.status()
|
||||||
|
|
||||||
|
|
||||||
@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."
|
@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 cains again with the receive command")
|
"If you want to cancel the send, you can claim the coins again with the receive command.")
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
@coro
|
@coro
|
||||||
async def pending(ctx):
|
async def pending(ctx):
|
||||||
|
|||||||
Reference in New Issue
Block a user