print methods

This commit is contained in:
alessio 2016-08-03 18:48:56 +02:00
parent 4582b6e995
commit d2753cb9b6
1 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,15 @@ func Init() *App{
}
}
func Fail(msg string){
fmt.Println(red(msg))
}
func Success(msg string){
fmt.Println(green(msg))
}
func (app *App) Information(){
fmt.Println(blue(app.Name)+" - "+blue(app.Version))
fmt.Println(bluel(app.Description)+"\n")