AB#2064 Feat/config/dev config to config (#139)

Renamed dev-config to config, additionally changed cdbg config to yaml.
This commit is contained in:
Fabian Kammel 2022-05-13 11:56:43 +02:00 committed by GitHub
parent fde7304d78
commit 83857b142c
20 changed files with 175 additions and 189 deletions

View file

@ -3,6 +3,7 @@ package cmd
import (
"os"
"github.com/edgelesssys/constellation/internal/constants"
"github.com/spf13/cobra"
)
@ -21,6 +22,5 @@ func Execute() {
}
func init() {
rootCmd.PersistentFlags().String("dev-config", "", "debugd config file (required)")
_ = rootCmd.MarkPersistentFlagRequired("dev-config")
rootCmd.PersistentFlags().String("config", constants.ConfigFilename, "debugd config file")
}