mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-19 01:43:22 +01:00
Update the CLI tools (#2837)
The latest eclair release added some RPCs that were missing from the CLI documentation.
This commit is contained in:
parent
40ef3655cf
commit
c8184b3e43
@ -21,7 +21,7 @@ _eclair-cli()
|
||||
*)
|
||||
# works fine, but is too slow at the moment.
|
||||
# allopts=$($eclaircli help 2>&1 | awk '$1 ~ /^"/ { sub(/,/, ""); print $1}' | sed 's/[":]//g')
|
||||
allopts="getinfo connect open cpfpbumpfees close forceclose bumpforceclose updaterelayfee peers channels channel closedchannels allnodes allchannels allupdates findroute findroutetonode findroutebetweennodes parseinvoice payinvoice sendtonode getsentinfo createinvoice getinvoice listinvoices listpendinginvoices listreceivedpayments getreceivedinfo audit networkfees channelstats"
|
||||
allopts="allchannels allupdates audit bumpforceclose channel channelbalances channels channelstats close closedchannels connect cpfpbumpfees createinvoice deleteinvoice disconnect findroute findroutebetweennodes findroutetonode forceclose getdescriptors getinfo getinvoice getmasterxpub getnewaddress getreceivedinfo getsentinfo globalbalance listinvoices listpendinginvoices listreceivedpayments networkfees node nodes onchainbalance onchaintransactions open parseinvoice payinvoice payoffer peers rbfopen sendonchain sendonionmessage sendtonode sendtoroute signmessage splicein spliceout stop updaterelayfee usablebalances verifymessage"
|
||||
|
||||
if ! [[ " $allopts " =~ " $prev " ]]; then # prevent double arguments
|
||||
if [[ -z "$cur" || "$cur" =~ ^[a-z] ]]; then
|
||||
|
@ -74,10 +74,12 @@ and COMMAND is one of the available commands:
|
||||
=== Payment ===
|
||||
- usablebalances
|
||||
- payinvoice
|
||||
- payoffer
|
||||
- sendtonode
|
||||
- sendtoroute
|
||||
- getsentinfo
|
||||
- getreceivedinfo
|
||||
- listreceivedpayments
|
||||
|
||||
=== Message ===
|
||||
- signmessage
|
||||
@ -91,6 +93,8 @@ and COMMAND is one of the available commands:
|
||||
- onchainbalance
|
||||
- onchaintransactions
|
||||
- globalbalance
|
||||
- getmasterxpub
|
||||
- getdescriptors
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
Loading…
Reference in New Issue
Block a user