You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"git.xbudex.com/buddy/open-hardware-monitor/lib/app"
|
|
)
|
|
|
|
func main() {
|
|
a := app.New()
|
|
handleErr(a.RunClient(os.Args))
|
|
}
|
|
|
|
func handleErr(err error) {
|
|
if err == nil {
|
|
return
|
|
}
|
|
fmt.Fprintf(os.Stderr, "%s\n", err)
|
|
os.Exit(1)
|
|
}
|