cmd/cli: ensure cd/cd-org flags must be non-empty

This commit is contained in:
Cuong Manh Le
2023-10-03 16:51:27 +00:00
committed by Cuong Manh Le
parent 6e28517454
commit e03ad4cd77
2 changed files with 27 additions and 6 deletions
+5
View File
@@ -38,6 +38,11 @@ var (
noConfigStart bool
)
const (
cdUidFlagName = "cd"
cdOrgFlagName = "cd-org"
)
func init() {
l := zerolog.New(io.Discard)
mainLog.Store(&l)