fix(cli): overwrite setups (#3488)

* fix(cli): possibility to overwrite setup steps

* chore: update cockroach version in go-dep

* fix(cli): init masterkey flags once

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Silvan
2022-04-25 17:05:20 +02:00
committed by GitHub
parent 7a507fe63c
commit 388ef6b93b
7 changed files with 38 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ package cmd
import (
"bytes"
_ "embed"
"errors"
"io"
"strings"
@@ -25,8 +26,8 @@ func New(out io.Writer, in io.Reader, args []string) *cobra.Command {
Use: "zitadel",
Short: "The ZITADEL CLI let's you interact with ZITADEL",
Long: `The ZITADEL CLI let's you interact with ZITADEL`,
Run: func(cmd *cobra.Command, args []string) {
logging.New().Info("hello world")
RunE: func(cmd *cobra.Command, args []string) error {
return errors.New("no additional command provided")
},
}