git-project-manager/cmd/dump.go
2023-12-07 12:08:56 -05:00

21 lines
307 B
Go

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)
}