zitadel/cmd/admin/setup/setup.go
Silvan e8ab237ada
fix(init): prepare database (#3191)
* fix(init): prepare database

* fix(defaults): cockroach local defaults
2022-02-11 11:02:47 +01:00

23 lines
378 B
Go

package setup
import (
_ "embed"
"github.com/caos/logging"
"github.com/spf13/cobra"
)
func New() *cobra.Command {
return &cobra.Command{
Use: "setup",
Short: "setup ZITADEL instance",
Long: `sets up data to start ZITADEL.
Requirements:
- cockroachdb`,
RunE: func(cmd *cobra.Command, args []string) error {
logging.Info("hello world")
return nil
},
}
}