Add command usage example

This commit is contained in:
Jonas Kaninda
2024-10-30 04:52:49 +01:00
parent 5537292bc6
commit 02dcd4dc75
4 changed files with 10 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ import (
var Cmd = &cobra.Command{
Use: "config",
Short: "Goma configuration",
Short: "Goma Gateway configuration management",
Run: func(cmd *cobra.Command, args []string) {
if len(args) == 0 {
return

View File

@@ -28,7 +28,7 @@ var rootCmd = &cobra.Command{
Use: "goma",
Short: "Goma Gateway is a lightweight API Gateway, Reverse Proxy",
Long: `.`,
Example: "",
Example: util.MainExample,
Version: util.FullVersion(),
}