chore: update server cmd
This commit is contained in:
@@ -26,7 +26,7 @@ import (
|
|||||||
// rootCmd represents
|
// rootCmd represents
|
||||||
var rootCmd = &cobra.Command{
|
var rootCmd = &cobra.Command{
|
||||||
Use: "goma",
|
Use: "goma",
|
||||||
Short: "Goma Gateway is a lightweight API Gateway, Reverse Proxy",
|
Short: "Goma Gateway is a lightweight API Gateway Management",
|
||||||
Long: `.`,
|
Long: `.`,
|
||||||
Example: util.MainExample,
|
Example: util.MainExample,
|
||||||
Version: util.FullVersion(),
|
Version: util.FullVersion(),
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ var ServerCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
ServerCmd.Flags().StringP("config", "", "", "Goma config file")
|
ServerCmd.Flags().StringP("config", "c", "", "Path to the configuration filename")
|
||||||
}
|
}
|
||||||
func intro() {
|
func intro() {
|
||||||
nameFigure := figure.NewFigure("Goma", "", true)
|
nameFigure := figure.NewFigure("Goma", "", true)
|
||||||
|
|||||||
Reference in New Issue
Block a user