示例#1
0
func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	commands.Execute()

	if jww.LogCountForLevelsGreaterThanorEqualTo(jww.LevelError) > 0 {
		os.Exit(-1)
	}
}
示例#2
0
文件: main.go 项目: GeertJohan/hugo
func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	commands.Execute()
}
示例#3
0
文件: main.go 项目: 4honor/hugo
func main() {
	commands.Execute()
}
示例#4
0
文件: api.go 项目: hacdias/hugo
func Run(flags []string) {
	commands.Execute(flags)
}