doodle/cmd/doodle/main.go

29 lines
337 B
Go
Raw Normal View History

2017-10-27 01:03:11 +00:00
package main
import (
"flag"
"runtime"
2017-10-27 01:03:11 +00:00
"git.kirsle.net/apps/doodle"
2017-10-27 01:03:11 +00:00
)
// Build number is the git commit hash.
var Build string
// Command line args
var (
debug bool
)
func init() {
flag.BoolVar(&debug, "debug", false, "Debug mode")
}
func main() {
runtime.LockOSThread()
2017-10-27 01:03:11 +00:00
flag.Parse()
app := doodle.New(debug)
app.Run()
2017-10-27 01:03:11 +00:00
}