polemos/main.go
2023-03-21 13:34:52 +01:00

22 lines
322 B
Go

package main
import (
"fmt"
"os"
"github.com/thefeli73/polemos/mtdaws"
"github.com/thefeli73/polemos/state"
)
func main() {
fmt.Println("Starting Polemos")
config, err := state.LoadConf("config.yaml")
if err != nil {
fmt.Println("Error loading config:", err)
os.Exit(1)
}
mtdaws.IndexInstances(config)
}