Christian Decker
0f72e0bce8
plugin: The example plugin can now return errors
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Christian Decker
1e139e412b
plugin: Allow both array as well as object params in example plugin
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Christian Decker
e27b2ea69b
pytest: Add a test for the plugin option passthrough
Signed-off-by: Christian Decker <@cdecker>
6 years ago
Christian Decker
2b3059be0c
plugin: Have the helloworld plugin accept a configure message
Just customizes the greeting, the actual sending is in the next commit.
Signed-off-by: Christian Decker <@cdecker>
6 years ago
Christian Decker
55d6d6b0e7
plugin: Register plugin cli options
We also make `--help` a non-early arg so it allows for the plugins to
register their options before printing the help message. The options
themselves are stored in a separate struct inbetween them being
registered and them being forwarded to the plugin. Currently only
supports string options.
Signed-off-by: Christian Decker <@cdecker>
6 years ago
Christian Decker
d0de6e59c6
plugin: Start each plugin and setup the connection to it
Mostly copied from bitcoind.c
7 years ago
Christian Decker
f7116c3a43
plugins: Add simple helloworld plugin to test against
It does double duty to show how a simple plugin might work.
7 years ago