ajout config.yml
This commit is contained in:
+12
-11
@@ -6,18 +6,19 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/gookit/color"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func PrintHeader() {
|
||||
fmt.Println(CreateLine(15))
|
||||
fmt.Println(" __ __ __ ______ __ ")
|
||||
fmt.Println(" / //_/ ____ ____/ / ___ / ____/ _____ ___ ____ _ / /_ ____ _____")
|
||||
fmt.Println(" / ,< / __ \\ / __ / / _ \\ ______ / / / ___/ / _ \\ / __ `/ / __/ / __ \\ / ___/")
|
||||
fmt.Println(" / /| | / /_/ // /_/ / / __//_____// /___ / / / __// /_/ / / /_ / /_/ / / / ")
|
||||
fmt.Println("/_/ |_| \\____/ \\__,_/ \\___/ \\____/ /_/ \\___/ \\__,_/ \\__/ \\____/ /_/ ")
|
||||
fmt.Println("")
|
||||
fmt.Println(CreateLine(15))
|
||||
color.Yellow.Println(CreateLine(15))
|
||||
color.Green.Println(" __ __ __ ______ __ ")
|
||||
color.Green.Println(" / //_/ ____ ____/ / ___ / ____/ _____ ___ ____ _ / /_ ____ _____")
|
||||
color.Green.Println(" / ,< / __ \\ / __ / / _ \\ ______ / / / ___/ / _ \\ / __ `/ / __/ / __ \\ / ___/")
|
||||
color.Green.Println(" / /| | / /_/ // /_/ / / __//_____// /___ / / / __// /_/ / / /_ / /_/ / / / ")
|
||||
color.Green.Println("/_/ |_| \\____/ \\__,_/ \\___/ \\____/ /_/ \\___/ \\__,_/ \\__/ \\____/ /_/ ")
|
||||
color.Green.Println("")
|
||||
color.Yellow.Println(CreateLine(15))
|
||||
|
||||
}
|
||||
|
||||
@@ -34,9 +35,9 @@ func PrintHelpFormated(version string, author string, buildDate string, cmd *cob
|
||||
fmt.Println("")
|
||||
cmd.Help()
|
||||
fmt.Println("")
|
||||
fmt.Println(CreateLine(15))
|
||||
fmt.Println("| Version: " + version + " || Author: " + author + " || Build date: " + buildDate + " |")
|
||||
fmt.Println(CreateLine(15))
|
||||
color.Yellow.Println(CreateLine(15))
|
||||
color.Green.Println("| Version: " + version + " || Author: " + author + " || Build date: " + buildDate + " |")
|
||||
color.Yellow.Println(CreateLine(15))
|
||||
fmt.Println("")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user