with handling for do

This commit is contained in:
2022-11-05 23:05:41 +01:00
parent fd826827f6
commit 52f44f7c2e
8 changed files with 77 additions and 15 deletions

View File

@@ -18,6 +18,7 @@ type About struct {
type Plugin interface {
About(ctx context.Context) (*About, error)
Do(ctx context.Context, commandName string, args map[string]string) error
}
const PluginKey = "plugin"