Codebase list golang-github-gobuffalo-packr / upstream/2.8.1+git20201110.1968755 packr / cmd / clean.go
upstream/2.8.1+git20201110.1968755

Tree @upstream/2.8.1+git20201110.1968755 (Download .tar.gz)

clean.go @upstream/2.8.1+git20201110.1968755raw · history · blame

package cmd

import (
	"github.com/gobuffalo/packr/builder"
	"github.com/spf13/cobra"
)

var cleanCmd = &cobra.Command{
	Use:   "clean",
	Short: "removes any *-packr.go files",
	Run: func(cmd *cobra.Command, args []string) {
		builder.Clean(input)
	},
}

func init() {
	rootCmd.AddCommand(cleanCmd)
}