with handling for do
This commit is contained in:
@@ -9,6 +9,13 @@ import (
|
||||
|
||||
type GoCliPlugin struct{}
|
||||
|
||||
// Do implements register.Plugin
|
||||
func (*GoCliPlugin) Do(ctx context.Context, commandName string, args map[string]string) error {
|
||||
log.Print("hit do")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) {
|
||||
return ®ister.About{
|
||||
Name: "gocli",
|
||||
|
Reference in New Issue
Block a user