Example #1
0
File: main.go Project: github/hub
func main() {
	defer github.CaptureCrash()

	err := commands.CmdRunner.Execute()
	if !err.Ran {
		ui.Errorln(err.Error())
	}
	os.Exit(err.ExitCode)
}
Example #2
0
func main() {
	defer github.CaptureCrash()

	err := commands.CmdRunner.Execute()
	os.Exit(err.ExitCode)
}