kea-manage/main.go
Matthew Stobbs 1d0a5811ce migrated to cobra structure
adding abstractions for database to avoid passing around the connection
2024-09-20 15:21:41 -06:00

18 lines
259 B
Go

package main
import (
"os"
"git.staur.ca/stobbsm/kea-manage/cmd"
"github.com/spf13/viper"
)
func main() {
viper.SetConfigName("kea-manage")
viper.AddConfigPath("/etc")
viper.AddConfigPath(os.Getenv("HOME") + "/.config/kea-manage")
cmd.Execute()
}