Skip to content

Plugin CLI

Description

The CLI for managing plugins.

Using

seaplug [--init-config] [load/list/enable/disable/create] [OPTIONS]
python -m seaplayer.plug [--init-config] [load/list/enable/disable/create] [OPTIONS]

Commands

Load

The command to load plugins.

seaplug load [--overwrite/-o] ./plugins/ExamplePlugin
Plugin loaded!

Unload

The command to unload plugins.

seaplug unload seaplayer.plugins.example 
Plugin unloaded!

List

List of all loaded plugins.

seaplug list
1. ExamplePlugin (seaplayer.plugins.example) v1.0.0 from Romanin (Disabled)

Enable

Enabling the plugin.

seaplug enable seaplayer.plugins.example
The 'seaplayer.plugins.example' plug-in is enabled."

Disable

Disabling the plugin.

seaplug disable seaplayer.plugins.example
The 'seaplayer.plugins.example' plug-in is disabled."

Create

Create plugin environment. More information in Plugin Development.

seaplug create [--name/--name-id/--version/--author/--description/--url/--overwrite] .
The plugin directory has been created.