added command categories (extensions, fullstack) + reduce complexity metrics hopefully

This commit is contained in:
A.Unger
2019-12-17 11:43:58 +01:00
parent 7ca44bce13
commit 32f9884a58
8 changed files with 127 additions and 110 deletions
+4 -3
View File
@@ -17,9 +17,10 @@ import (
// WebDAVCommand is the entrypoint for the webdav command.
func WebDAVCommand(cfg *config.Config) cli.Command {
return cli.Command{
Name: "webdav",
Usage: "Start webdav server",
Flags: flagset.ServerWithConfig(cfg.WebDAV),
Name: "webdav",
Usage: "Start webdav server",
Category: "Extensions",
Flags: flagset.ServerWithConfig(cfg.WebDAV),
Action: func(c *cli.Context) error {
scfg := configureWebDAV(cfg)