Init ID generation at app CLI init
This commit is contained in:
+5
-1
@@ -3,9 +3,10 @@ package app
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
composeCommands "github.com/cortezaproject/corteza/server/compose/commands"
|
||||
"sync"
|
||||
|
||||
composeCommands "github.com/cortezaproject/corteza/server/compose/commands"
|
||||
|
||||
authCommands "github.com/cortezaproject/corteza/server/auth/commands"
|
||||
federationCommands "github.com/cortezaproject/corteza/server/federation/commands"
|
||||
"github.com/cortezaproject/corteza/server/pkg/actionlog"
|
||||
@@ -13,6 +14,7 @@ import (
|
||||
"github.com/cortezaproject/corteza/server/pkg/cli"
|
||||
"github.com/cortezaproject/corteza/server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza/server/pkg/envoyx"
|
||||
"github.com/cortezaproject/corteza/server/pkg/id"
|
||||
"github.com/cortezaproject/corteza/server/pkg/options"
|
||||
"github.com/cortezaproject/corteza/server/store"
|
||||
systemCommands "github.com/cortezaproject/corteza/server/system/commands"
|
||||
@@ -30,6 +32,8 @@ func (app *CortezaApp) InitCLI() {
|
||||
envs []string
|
||||
)
|
||||
|
||||
id.Init(ctx)
|
||||
|
||||
app.Command = cli.RootCommand(func() error {
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user