This changes the server sub-command to ignore unknown flag. Fixes FB-2019

This commit is contained in:
Fletcher Haynes 2023-03-01 16:28:47 -08:00 committed by Fletcher Haynes
parent 6a3c47dbe1
commit 660428d5fb

View file

@ -47,6 +47,9 @@ func newServeCmd(stderr io.Writer) *cobra.Command {
serveCmd := &cobra.Command{
Use: "server",
Short: "Run FeatureBase.",
FParseErrWhitelist: cobra.FParseErrWhitelist{
UnknownFlags: true,
},
Long: `featurebase server runs FeatureBase.
It will load existing data from the configured