INNER CODE UNIT · Go
runApp
kopecmaciej/vi-mongo · cmd/cmd.go:60
func runApp(cmd *cobra.Command, args []string) {
if ok, _ := cmd.Flags().GetBool("paths"); ok {
printPaths()
os.Exit(0)
}
if showVersion {
greenColor := "\033[32m"
resetColor := "\033[0m"
fmt.Printf("%s\n", greenColor)
fmt.Print(`
__ ___ __ __
\ \ / (_) | \/ |
\ \ / / _ | \ / | ___ _ __ __ _ ___
\ \/ / | | | |\/| |/ _ \| '_ \ / _` + "`" + ` |/ _ \
\ / | | | | | | (_) | | | | (_| | (_) |
\/ |_| |_| |_|\___/|_| |_|\__, |\___/
__/ |