mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-22 23:54:20 +01:00
helpme: new plugin.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
6cebe21ff7
commit
5bb3061ade
9
helpme/Makefile
Normal file
9
helpme/Makefile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#! /usr/bin/make
|
||||||
|
|
||||||
|
check: flake8 pytest
|
||||||
|
|
||||||
|
flake8:
|
||||||
|
flake8 --ignore=E501,W503 helpme.py
|
||||||
|
|
||||||
|
pytest:
|
||||||
|
pytest helpme.py
|
||||||
8
helpme/README.md
Normal file
8
helpme/README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Helpme plugin for c-lightning
|
||||||
|
|
||||||
|
This plugin is designed to walk you through setting up a fresh
|
||||||
|
c-lightning node, offering advice for common problems.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
`lightning-cli helpme` will describe various topics.
|
||||||
1049
helpme/helpme.py
Executable file
1049
helpme/helpme.py
Executable file
File diff suppressed because it is too large
Load Diff
@@ -207,6 +207,8 @@ def summary(plugin):
|
|||||||
s += c[3][0:32]
|
s += c[3][0:32]
|
||||||
reply['channels'].append(s)
|
reply['channels'].append(s)
|
||||||
|
|
||||||
|
# Make modern lightning-cli format this human-readble by default!
|
||||||
|
reply['format-hint'] = 'simple'
|
||||||
return reply
|
return reply
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user