add version command and add build information to metrics

Signed-off-by: David Christofas <dchristofas@owncloud.com>
This commit is contained in:
David Christofas
2020-09-25 18:04:38 +02:00
parent cae6a1c3ac
commit 8752d447c7
12 changed files with 168 additions and 11 deletions
+1
View File
@@ -32,6 +32,7 @@ func Execute() error {
Flags: flagset.RootWithConfig(cfg),
Before: func(c *cli.Context) error {
cfg.Service.Version = version.String
return ParseConfig(c, cfg)
},