Skip to content
Permalink
Browse files

Add ASCII Logo

Signed-off-by: Zaher Ghaibeh <z@zah.me>
  • Loading branch information...
linuxjuggler authored and alexellis committed Aug 22, 2019
1 parent fae3ea6 commit f13f54f85b86507e245f1a314a3e1e6eeb17fec9
Showing with 25 additions and 0 deletions.
  1. +9 −0 Gopkg.lock
  2. +16 −0 cmd/inlets.go

Some generated files are not rendered by default. Learn more.

@@ -2,6 +2,7 @@ package cmd

import (
"fmt"
"github.com/morikuni/aec"
"github.com/spf13/cobra"
"os"
)
@@ -30,6 +31,8 @@ See: https://github.com/alexellis/inlets for more information.`,
}

func parseBaseCommand(_ *cobra.Command, _ []string) {
printLogo()

if len(Version) == 0 {
fmt.Println("Version: dev")
} else {
@@ -52,3 +55,16 @@ func Execute(version, gitCommit string) error {
}
return nil
}

func printLogo() {
inletsLogo := aec.WhiteF.Apply(inletsFigletStr)
fmt.Println(inletsLogo)
}


const inletsFigletStr = ` _ _ _ _
(_)_ __ | | ___| |_ ___ __| | _____ __
| | '_ \| |/ _ \ __/ __| / _` + "`" + ` |/ _ \ \ / /
| | | | | | __/ |_\__ \| (_| | __/\ V /
|_|_| |_|_|\___|\__|___(_)__,_|\___| \_/
`

0 comments on commit f13f54f

Please sign in to comment.
You can’t perform that action at this time.