Add plugins required flag (#40)

* add required plugins flag.

* update plugins logs.

* add plugins subcommand.

* move preflight to prerun.
This commit is contained in:
Miroslav Šedivý
2023-03-31 12:02:33 +02:00
committed by GitHub
parent 43a649d2c4
commit 1a752e43d2
6 changed files with 197 additions and 85 deletions

View File

@ -28,6 +28,13 @@ type PluginConfig interface {
Set()
}
type PluginMetadata struct {
Name string
IsDependable bool
IsExposable bool
DependsOn []string `json:",omitempty"`
}
type PluginManagers struct {
SessionManager SessionManager
WebSocketManager WebSocketManager