neko/cmd/neko/main.go
2020-10-28 19:15:48 +01:00

19 lines
318 B
Go

package main
import (
"fmt"
"github.com/rs/zerolog/log"
"demodesk/neko"
"demodesk/neko/cmd"
"demodesk/neko/internal/utils"
)
func main() {
fmt.Print(utils.Colorf(neko.Header, "server", neko.Service.Version))
if err := cmd.Execute(); err != nil {
log.Panic().Err(err).Msg("failed to execute command")
}
}