Skip to content
Ben edited this page Aug 8, 2016 · 3 revisions

Creating a Client

A client (or plug-in) is created using the Plugin class.

from splonecli.api.plugin import Plugin

my_plugin = Plugin("<name>", "<desc>", "<author>", "license")

Where:

  • name: Name of the plug-in
  • desc: Description of the plug-in
  • author: Author of the plug-in
  • license: License of the plug-in

Debugging

You may initialize your plug-in with the optional debug=True parameter. This will output some information using pythons built-in logging module.

Plugin("<name>", "<desc>", "<author>", "license", debug=True)

Clone this wiki locally