Codebase list golang-github-gobuffalo-packr / 165eca59-588c-4c18-ae57-445220e2f5bf/upstream packr / cmd / clean.go
165eca59-588c-4c18-ae57-445220e2f5bf/upstream

Tree @165eca59-588c-4c18-ae57-445220e2f5bf/upstream (Download .tar.gz)

clean.go @165eca59-588c-4c18-ae57-445220e2f5bf/upstreamraw · 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)
}