package cmd import ( "fmt" "github.com/spf13/cobra" ) var dumpCmd = &cobra.Command{ Use: "dump", Short: "Dump GitLab project cache", Long: `Dumps cache to display`, Run: func(cmd *cobra.Command, args []string) { fmt.Println(cache.String()) }, } func init() { cacheCmd.AddCommand(dumpCmd) }