func main() { flag.Parse() m := maestro.Maestro{} m.InitFromFile(retrieveConfigPath(*config)) if *check { m.Check() } else if *stop { m.Stop() } else { m.Start() } }