Merge remote-tracking branch 'origin/errcode' into errcode

This commit is contained in:
withchao
2023-03-07 12:19:38 +08:00
4 changed files with 68 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
package cmd
import (
"github.com/spf13/cobra"
)
func NewRootCmd() *cobra.Command {
return &cobra.Command{
Use: "start",
Short: "Start the server",
Long: `Start the server`,
}
}
+3 -2
View File
@@ -330,6 +330,7 @@ const LocalHost = "0.0.0.0"
// flag parse
const (
FlagPort = "port"
FlagConf = "config_folder_path"
FlagPort = "port"
PrometheusPort = "prometheus_port"
FlagConf = "config_folder_path"
)