github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/cmd/pyroscope/command/banner.go (about)

     1  package command
     2  
     3  import (
     4  	"github.com/pyroscope-io/pyroscope/pkg/cli"
     5  )
     6  
     7  // made here http://patorjk.com/software/taag/#p=display&f=Doom&t=Pyroscope
     8  var banner = `
     9   _ __  _   _ _ __ ___  ___  ___ ___  _ __   ___
    10  | '_ \| | | | '__/ _ \/ __|/ __/ _ \| '_ \ / _ \
    11  | |_) | |_| | | | (_) \__ \ (_| (_) | |_) |  __/
    12  | .__/ \__, |_|  \___/|___/\___\___/| .__/ \___|
    13  | |     __/ |                       | |
    14  |_|    |___/                        |_|
    15  
    16  `
    17  
    18  func init() {
    19  	// removes extra new lines
    20  	banner = banner[1 : len(banner)-2]
    21  }
    22  
    23  func gradientBanner() string {
    24  	return cli.GradientBanner(banner)
    25  }