hub/main.go

22 строки
294 B
Go
Исходник Обычный вид История

2017-05-17 14:34:13 +03:00
// +build go1.8
2013-04-09 08:53:13 +04:00
package main
import (
"os"
2014-02-10 20:22:36 +04:00
"github.com/github/hub/commands"
"github.com/github/hub/github"
"github.com/github/hub/ui"
2013-04-30 06:45:57 +04:00
)
2013-04-22 07:36:21 +04:00
2013-04-09 08:53:13 +04:00
func main() {
defer github.CaptureCrash()
err := commands.CmdRunner.Execute()
if !err.Ran {
ui.Errorln(err.Error())
}
os.Exit(err.ExitCode)
}