simplify commands and version handling

This commit is contained in:
Willy Kloucek
2022-01-03 13:53:27 +01:00
parent eee0d0c4c8
commit e0656daaa0
41 changed files with 437 additions and 499 deletions
+1 -4
View File
@@ -24,10 +24,7 @@ func WebCommand(cfg *config.Config) *cli.Command {
return nil
},
Action: func(c *cli.Context) error {
origCmd := command.Server(cfg.Web)
return handleOriginalAction(c, origCmd)
},
Subcommands: command.GetCommands(cfg.Web),
}
}