cln-commando-cli-0.1.0 is not a library.
cln-commando-cli
cln-commando is a tiny command-line client for calling Core Lightning RPC
methods over Commando using the Lightning transport.
It is intended as a remote lightning-cli-style probe/tool when you have:
- the target node id,
- a reachable host/port,
- a Commando rune.
The transport and Commando implementation come from lnsocket.
Install
Or from a checkout:
Usage
With JSON params:
Read params from stdin or a file:
|
Environment variables are also supported:
If your rune restricts the caller identity with an id= restriction, provide a
persistent client identity:
Without --secret-key, a fresh random client key is generated for each run.
Monitoring probe example
That checks that the node accepts a fresh Lightning transport connection, runs Commando, validates the rune, and can execute the chosen RPC.
License
MIT