loic-go/cmd/root.go

21 lines
327 B
Go
Raw Normal View History

2025-03-25 16:53:35 +00:00
package cmd
import (
"fmt"
"github.com/spf13/cobra"
"os"
)
var rootCmd = &cobra.Command{
Use: "loic",
Short: "LOIC-Anwendung für Lasttests",
Long: `Eine Anwendung für skalierbare Lasttests im Kubernetes-Cluster.`,
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}