Logo
Explore Help
Sign In
TheArchive/zitadel
1
0
Fork 0
You've already forked zitadel
mirror of https://github.com/zitadel/zitadel.git synced 2025-06-17 12:08:34 +00:00
Code Issues Packages Projects Releases Wiki Activity
zitadel/cmd/admin/setup/setup.go

23 lines
378 B
Go
Raw Normal View History

feat(cli): init cli (#3186) * feat(cli): initilize cli * fix(config): allow multiple files * refactor(cli): constructor naming * go mod tidy * refactor: move code out of v2 package * chore: logging v0.1 * chore: remove old gitignore * fix func Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-09 15:01:19 +01:00
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 {
fix(init): prepare database (#3191) * fix(init): prepare database * fix(defaults): cockroach local defaults
2022-02-11 11:02:47 +01:00
logging.Info("hello world")
feat(cli): init cli (#3186) * feat(cli): initilize cli * fix(config): allow multiple files * refactor(cli): constructor naming * go mod tidy * refactor: move code out of v2 package * chore: logging v0.1 * chore: remove old gitignore * fix func Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-09 15:01:19 +01:00
return nil
},
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 205ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API