mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 03:54:21 +00:00
e8ab237ada
* fix(init): prepare database * fix(defaults): cockroach local defaults
24 lines
418 B
Go
24 lines
418 B
Go
package start
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/caos/logging"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func New() *cobra.Command {
|
|
return &cobra.Command{
|
|
Use: "start",
|
|
Short: "starts ZITADEL instance",
|
|
Long: `starts ZITADEL.
|
|
Requirements:
|
|
- cockroachdb`,
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
logging.Info("hello world")
|
|
logging.WithFields("field", 1).Info("hello world")
|
|
return nil
|
|
},
|
|
}
|
|
}
|