Remove banner
This commit is contained in:
parent
e3ce273108
commit
a6ca327118
@ -24,7 +24,6 @@ var rootCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Execute() {
|
func Execute() {
|
||||||
Banner()
|
|
||||||
if err := rootCmd.Execute(); err != nil {
|
if err := rootCmd.Execute(); err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|||||||
@ -18,10 +18,6 @@ var (
|
|||||||
Yellow = "\033[38;5;229m"
|
Yellow = "\033[38;5;229m"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Banner() {
|
|
||||||
LogMessage(fmt.Sprintf("%s Serra %v\n", Icon, Version), "green")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Colored output on commandline
|
// Colored output on commandline
|
||||||
func LogMessage(message string, color string) {
|
func LogMessage(message string, color string) {
|
||||||
if color == "red" {
|
if color == "red" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user