From 260c9d70ab7a469398e0390e51754b199c53fef0 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Thu, 6 Jul 2017 19:01:08 +0200 Subject: [PATCH] add official wings ascii logo --- README.md | 14 ++++++++++++-- command/root.go | 16 ++++++++++------ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 75bbac2..e4685f8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,17 @@ -# Pterodactyl wings [![travis](https://img.shields.io/travis/schrej/wings.svg?style=flat-square)](https://travis-ci.org/schrej/wings) [![codacy quality](https://img.shields.io/codacy/grade/27a1576bda86450f853b1052b12fa570.svg?style=flat-square)](https://www.codacy.com/app/schrej/wings/dashboard) [![codacy coverage](https://img.shields.io/codacy/coverage/27a1576bda86450f853b1052b12fa570.svg?style=flat-square)](https://www.codacy.com/app/schrej/wings/files) +# Pterodactyl wings [![travis](https://img.shields.io/travis/Pterodactyl/wings.svg?style=flat-square)](https://travis-ci.org/Pterodactyl/wings) [![codacy quality](https://img.shields.io/codacy/grade/27a1576bda86450f853b1052b12fa570.svg?style=flat-square)](https://www.codacy.com/app/schrej/wings/dashboard) [![codacy coverage](https://img.shields.io/codacy/coverage/27a1576bda86450f853b1052b12fa570.svg?style=flat-square)](https://www.codacy.com/app/schrej/wings/files) + +``` + ____ +__ Pterodactyl _____/___/_______ _______ ______ +\_____\ \/\/ / / / __ / ___/ + \___\ / / / / /_/ /___ / + \___/\___/___/___/___/___ /______/ + /_______/ alpha +``` A new generation of the Pterodactyl daemon, written in go. -**This project is currently in a very early stage. Do not use in production.** +## This project is currently in a very early stage. Do not use in production. We are not accepting pull requests at this point of development. You are welcome to open issues with general feature requests and improvments compared to the current pterodactyl daemon. Please check if a similar issue, wether open or closed, exists already! + diff --git a/command/root.go b/command/root.go index 97b54a8..5e492f4 100644 --- a/command/root.go +++ b/command/root.go @@ -1,8 +1,6 @@ package command import ( - "fmt" - "github.com/Pterodactyl/wings/api" "github.com/Pterodactyl/wings/config" "github.com/Pterodactyl/wings/tools" @@ -31,16 +29,22 @@ func Execute() { } func run(cmd *cobra.Command, args []string) { - fmt.Println("Loading configuration") + tools.InitLogging() + log.Info("Loading configuration") if err := config.LoadConfiguration(nil); err != nil { log.WithError(err).Fatal("Failed to find configuration file") } tools.ConfigureLogging() - log.Info("Starting wings.go version ", Version) + log.Info(` ____`) + log.Info(`__ Pterodactyl _____/___/_______ _______ ______`) + log.Info(`\_____\ \/\/ / / / __ / ___/`) + log.Info(` \___\ / / / / /_/ /___ /`) + log.Info(` \___/\___/___/___/___/___ /______/`) + log.Info(` /_______/ v` + Version) + log.Info() - // Load configuration - log.Info("Loading configuration...") + log.Info("Configuration loaded successfully.") log.Info("Starting api webserver") api := api.NewAPI()