MCPcopy Create free account
hub / github.com/ElementsProject/lightning / helpme

Function helpme

tests/plugins/multiline-help.py:9–14  ·  view source on GitHub ↗

This is a message which consumes multiple lines and thus should be well-formatted by lightning-cli help

(plugin, msat: Millisatoshi)

Source from the content-addressed store, hash-verified

7
8@plugin.method("helpme")
9def helpme(plugin, msat: Millisatoshi):
10 """This is a message which consumes multiple lines and thus should
11 be well-formatted by lightning-cli help
12
13 """
14 return {'help': msat}
15
16
17plugin.run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected