mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
31 lines
635 B
Go
31 lines
635 B
Go
|
package admin
|
||
|
|
||
|
import (
|
||
|
_ "embed"
|
||
|
|
||
|
"github.com/caos/logging"
|
||
|
"github.com/caos/zitadel/cmd/admin/initialise"
|
||
|
"github.com/caos/zitadel/cmd/admin/setup"
|
||
|
"github.com/caos/zitadel/cmd/admin/start"
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
func New() *cobra.Command {
|
||
|
adminCMD := &cobra.Command{
|
||
|
Use: "admin",
|
||
|
Short: "The ZITADEL admin CLI let's you interact with your instance",
|
||
|
Long: `The ZITADEL admin CLI let's you interact with your instance`,
|
||
|
Run: func(cmd *cobra.Command, args []string) {
|
||
|
logging.New().Info("hello world")
|
||
|
},
|
||
|
}
|
||
|
|
||
|
adminCMD.AddCommand(
|
||
|
initialise.New(),
|
||
|
setup.New(),
|
||
|
start.New(),
|
||
|
)
|
||
|
|
||
|
return adminCMD
|
||
|
}
|