mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
e8ab237ada
* fix(init): prepare database * fix(defaults): cockroach local defaults
23 lines
378 B
Go
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
|
|
},
|
|
}
|
|
}
|