1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
thalos/cmd/tools/main.go

24 lines
435 B
Go

package main
import (
"os"
"github.com/spf13/cobra"
_ "github.com/eosswedenorg/thalos/app/log"
log "github.com/sirupsen/logrus"
)
var VersionString string = "dev"
var rootCmd = &cobra.Command{
Use: os.Args[0],
Short: "Collection of tools for dealing with the thalos application",
Version: VersionString,
}
func main() {
if err := rootCmd.Execute(); err != nil {
log.WithError(err).Fatal("Application error")
}
}