adept/adept.go

22 lines
419 B
Go
Raw Permalink Normal View History

2022-08-31 19:56:06 -04:00
package main
import (
"git.metaunix.net/BitGoblin/adept/cmd"
"git.metaunix.net/BitGoblin/adept/config"
2022-08-31 19:56:06 -04:00
)
// start the app - that's where all the good stuff happens
2022-08-31 19:56:06 -04:00
func main() {
// load configuration via Viper
config.LoadConfig()
// configure our app logging
logHandle := config.InitLogging()
if logHandle != nil {
defer logHandle.Close()
}
// launch the Cobra CLI framework
cmd.Execute()
2022-08-31 19:56:06 -04:00
}