mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
23 lines
391 B
Go
23 lines
391 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
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")
|
|
}
|
|
}
|