This commit is contained in:
Kasper Juul Hermansen 2022-11-05 23:20:59 +01:00
parent f38f4764a7
commit e51d10b267
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 4 additions and 2 deletions

View File

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

View File

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