INNER CODE UNIT · Go

infoCmd

derailed/popeye · cmd/info.go:18

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()
	printTuple("Logs", pkg.LogFile)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…