INNER CODE UNIT · Go
init
derailed/popeye · cmd/info.go:14
func init() {
rootCmd.AddCommand(infoCmd())
}
func infoCmd() *cobra.Command {
return &cobra.Command{
Use: "info",
Short: "Prints Popeye info",
Long: "Prints Popeye information",
Run: func(cmd *cobra.Command, args []string) {
printInfo()
},
}
}
func printInfo() {
printLogo(report.ColorAqua, report.ColorLighSlate)
fmt.Println()