dip/vendor/github.com/gobuffalo/packr/v2/packr2/cmd/clean.go

19 lines
312 B
Go
Raw Normal View History

2020-08-01 19:02:19 +02:00
package cmd
import (
"github.com/gobuffalo/packr/v2/jam"
"github.com/spf13/cobra"
)
var cleanCmd = &cobra.Command{
Use: "clean",
Short: "removes any *-packr.go files",
RunE: func(cmd *cobra.Command, args []string) error {
return jam.Clean(args...)
},
}
func init() {
rootCmd.AddCommand(cleanCmd)
}