3
0

Init ID generation at app CLI init

This commit is contained in:
Tomaž Jerman
2024-01-30 13:53:47 +01:00
parent 03ef28ea49
commit 01aaddad58
+5 -1
View File
@@ -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
})