feat: added help command
This commit is contained in:
parent
4fc5ae63a1
commit
bd9854676d
10 changed files with 414 additions and 7 deletions
|
@ -47,6 +47,13 @@ func GetAvailablePlugins() map[string]model.Plugin {
|
|||
return result
|
||||
}
|
||||
|
||||
// ClearRegistry clears all registered plugins (for testing)
|
||||
func ClearRegistry() {
|
||||
pluginsMu.Lock()
|
||||
defer pluginsMu.Unlock()
|
||||
plugins = make(map[string]model.Plugin)
|
||||
}
|
||||
|
||||
// BasePlugin provides a common base for plugins
|
||||
type BasePlugin struct {
|
||||
ID string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue