File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,16 @@ import (
2323)
2424
2525const (
26- Logo = `
27- _ ___ _ _
26+ Logo = ` _ ___ _ _
2827| | _( _ ) ___ ___ ___ _ __ | |_ _____ _| |_
2928| |/ / _ \/ __|_____ / __/ _ \| '_ \| __/ _ \ \/ / __|
3029| < (_) \__ \_____| (_| (_) | | | | || __/> <| |_
3130|_|\_\___/|___/ \___\___/|_| |_|\__\___/_/\_\\__|
32-
33- `
31+ ------------------------------------------------------`
32+ Author = `
33+ DevOps Corner Indonesia (devopscorner.id)
34+ https://github.com/devopscorner/k8s-context
35+ Apache v2.0 License`
3436 AppName = "K8S-CONTEXT (K8C)"
3537 VERSION = "v1.1.9"
3638)
Original file line number Diff line number Diff line change @@ -9,9 +9,11 @@ import (
99
1010func main () {
1111 logoStyle := termenv.Style {}.Foreground (termenv .ANSIGreen )
12+ authorStyle := termenv.Style {}.Foreground (termenv .ANSIBlue )
1213 appNameStyle := termenv.Style {}.Foreground (termenv .ANSIWhite ).Bold ()
1314
14- fmt .Println (logoStyle .Styled (features .Logo ))
15+ fmt .Print (logoStyle .Styled (features .Logo ))
16+ fmt .Println (authorStyle .Styled (features .Author ))
1517 fmt .Println ("===================================" )
1618 fmt .Println ("[[ " , appNameStyle .Styled (features .AppName ), " ]] -" , features .VERSION )
1719 fmt .Println ("===================================" )
Original file line number Diff line number Diff line change @@ -34,14 +34,16 @@ import (
3434)
3535
3636const (
37- Logo = `
38- _ ___ _ _
37+ Logo = ` _ ___ _ _
3938| | _( _ ) ___ ___ ___ _ __ | |_ _____ _| |_
4039| |/ / _ \/ __|_____ / __/ _ \| '_ \| __/ _ \ \/ / __|
4140| < (_) \__ \_____| (_| (_) | | | | || __/> <| |_
4241|_|\_\___/|___/ \___\___/|_| |_|\__\___/_/\_\\__|
43-
44- `
42+ ------------------------------------------------------`
43+ Author = `
44+ DevOps Corner Indonesia (devopscorner.id)
45+ https://github.com/devopscorner/k8s-context
46+ Apache v2.0 License`
4547 AppName = "K8S-CONTEXT (K8C)"
4648 VERSION = "v1.1.9"
4749)
@@ -62,9 +64,11 @@ type KubeConfig struct {
6264
6365func main () {
6466 logoStyle := termenv.Style {}.Foreground (termenv .ANSIGreen )
67+ authorStyle := termenv.Style {}.Foreground (termenv .ANSIBlue )
6568 appNameStyle := termenv.Style {}.Foreground (termenv .ANSIWhite ).Bold ()
6669
67- fmt .Println (logoStyle .Styled (Logo ))
70+ fmt .Print (logoStyle .Styled (Logo ))
71+ fmt .Println (authorStyle .Styled (Author ))
6872 fmt .Println ("===================================" )
6973 fmt .Println ("[[ " , appNameStyle .Styled (AppName ), " ]] -" , VERSION )
7074 fmt .Println ("===================================" )
You can’t perform that action at this time.
0 commit comments