hardware-tests/cmd/root.go

23 lines
370 B
Go
Raw Normal View History

package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "bgbench",
Short: "Bit Goblin hardware benching tool.",
Long: `A PC hardware benchmarking tool written by Bit Goblin.`,
2022-02-26 00:23:58 -05:00
Version: "v0.3.0",
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}