Codebase list golang-github-gobuffalo-packr / 43e9efbf-c2f5-4554-b588-2cecf7f13eaf/upstream packr / cmd / clean.go
43e9efbf-c2f5-4554-b588-2cecf7f13eaf/upstream

Tree @43e9efbf-c2f5-4554-b588-2cecf7f13eaf/upstream (Download .tar.gz)

clean.go @43e9efbf-c2f5-4554-b588-2cecf7f13eaf/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)
}