2023-08-07 15:14:24 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
|
|
|
|
"git.front.kjuulh.io/kjuulh/contractor/cmd/contractor"
|
2023-08-08 14:15:19 +02:00
|
|
|
"github.com/joho/godotenv"
|
2023-08-07 15:14:24 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2023-08-08 14:15:19 +02:00
|
|
|
err := godotenv.Load()
|
|
|
|
if err != nil {
|
|
|
|
log.Println("DEBUG: no .env file found")
|
|
|
|
}
|
|
|
|
|
2023-08-07 15:14:24 +02:00
|
|
|
if err := contractor.RootCmd().Execute(); err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
}
|
|
|
|
}
|