move store initialization to root and run only once

This commit is contained in:
A.Unger
2020-01-31 16:27:13 +01:00
parent 11029b5e17
commit b574230285
4 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -4,12 +4,12 @@ import (
"os"
"github.com/micro/cli"
_ "github.com/owncloud/ocis-accounts/pkg/registry"
"github.com/owncloud/ocis-hello/pkg/version"
)
// Execute is the entry point for the ocis-accounts command.
func Execute() error {
app := &cli.App{
Name: "ocis-accounts",
Version: version.String,