2015-02-10 19:41:15 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"flag"
|
|
|
|
|
|
|
|
"github.com/kr/pretty"
|
|
|
|
"github.com/localhots/confection"
|
|
|
|
"github.com/localhots/yeast/core"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
confection.SetupFlags()
|
|
|
|
flag.Parse()
|
|
|
|
}
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
core.InitConfig()
|
|
|
|
core.LoadUnits()
|
|
|
|
core.ParseChains()
|
|
|
|
|
|
|
|
pretty.Println(core.Conf())
|
2015-02-10 19:51:01 +00:00
|
|
|
|
|
|
|
println("Waiting")
|
2015-02-10 19:41:15 +00:00
|
|
|
select {}
|
|
|
|
}
|