Files
opencloud/extensions/notifications/pkg/command/version.go
Christian Richter 2153d22e61 refactor notifications
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00

20 lines
468 B
Go

package command
import (
"github.com/owncloud/ocis/extensions/notifications/pkg/config"
"github.com/urfave/cli/v2"
)
// Version prints the service versions of all running instances.
func Version(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "version",
Usage: "print the version of this binary and the running extension instances",
Category: "info",
Action: func(c *cli.Context) error {
// not implemented
return nil
},
}
}