feat: added help command

This commit is contained in:
Felipe M 2025-06-13 12:04:07 +02:00
parent 4fc5ae63a1
commit bd9854676d
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
10 changed files with 414 additions and 7 deletions

View file

@ -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