improve command description

This commit is contained in:
Willy Kloucek
2022-01-07 13:19:39 +01:00
parent f917691996
commit d9744ebda7
86 changed files with 234 additions and 178 deletions

View File

@@ -11,9 +11,9 @@ import (
// ProxyCommand is the entry point for the proxy command.
func ProxyCommand(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "proxy",
Usage: "Start proxy server",
Category: "Extensions",
Name: cfg.Proxy.Service.Name,
Usage: subcommandDescription(cfg.Proxy.Service.Name),
Category: "extensions",
Before: func(ctx *cli.Context) error {
return parser.ParseConfig(cfg)
},