Files
opencloud/services/audit/pkg/command/version.go
Christian Richter 4bcc4b9ab3 migrate audit from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:25 +01:00

19 lines
458 B
Go

package command
import (
"github.com/opencloud-eu/opencloud/services/audit/pkg/config"
"github.com/spf13/cobra"
)
// Version prints the service versions of all running instances.
func Version(cfg *config.Config) *cobra.Command {
return &cobra.Command{
Use: "version",
Short: "print the version of this binary and the running service instances",
RunE: func(cmd *cobra.Command, args []string) error {
// not implemented
return nil
},
}
}