diff --git a/plugins/gocli/main.go b/plugins/gocli/main.go index 293b799..702ab59 100644 --- a/plugins/gocli/main.go +++ b/plugins/gocli/main.go @@ -11,7 +11,8 @@ type GoCliPlugin struct{} // Do implements register.Plugin func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error { - panic("unimplemented") + log.Printf("received command: %s", cmd.CommandName) + return nil } func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) { diff --git a/plugins/rust/main.go b/plugins/rust/main.go index 224cdc8..84b4dbc 100644 --- a/plugins/rust/main.go +++ b/plugins/rust/main.go @@ -11,7 +11,8 @@ type GoCliPlugin struct{} // Do implements register.Plugin func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error { - panic("unimplemented") + log.Printf("received command: %s", cmd.CommandName) + return nil } func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) {