diff --git a/pkg/command/health.go b/pkg/command/health.go index 7b4947490..035efb0bc 100644 --- a/pkg/command/health.go +++ b/pkg/command/health.go @@ -7,6 +7,7 @@ import ( "github.com/micro/cli" "github.com/owncloud/ocis/pkg/config" "github.com/owncloud/ocis/pkg/flagset" + "github.com/owncloud/ocis/pkg/register" ) // Health is the entrypoint for the health command. @@ -47,3 +48,7 @@ func Health(cfg *config.Config) cli.Command { }, } } + +func init() { + register.AddCommand(Health) +}