samurai/main.go

18 lines
281 B
Go
Raw Normal View History

2021-02-11 12:34:32 +01:00
// nolint: exhaustivestruct
2021-02-10 10:29:25 +01:00
package main
import (
2021-02-11 12:34:32 +01:00
"os"
2021-02-10 10:29:25 +01:00
2021-02-11 12:34:32 +01:00
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"go.xsfx.dev/samurai/cmd"
2021-02-10 10:29:25 +01:00
)
func main() {
2021-02-11 12:34:32 +01:00
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Logger = log.With().Caller().Logger()
2021-02-10 10:29:25 +01:00
2021-02-11 12:34:32 +01:00
cmd.Execute()
2021-02-10 10:29:25 +01:00
}