mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
integrated micro runtime
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/micro/cli"
|
||||
"github.com/micro/micro/api"
|
||||
"github.com/owncloud/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/pkg/config"
|
||||
"github.com/owncloud/ocis/pkg/flagset"
|
||||
@@ -80,6 +81,10 @@ func Execute() error {
|
||||
},
|
||||
}
|
||||
|
||||
// register micro runtime services.
|
||||
// TODO(refs) use the registry? Some interfaces would need to be tweaked
|
||||
app.Commands = append(app.Commands, api.Commands()...)
|
||||
|
||||
for _, fn := range register.Commands {
|
||||
app.Commands = append(
|
||||
app.Commands,
|
||||
|
||||
Reference in New Issue
Block a user