Codebase list golang-github-gobuffalo-packr / d02d0578-4689-45e3-aefb-78605e4b32a6/upstream packr / cmd / clean.go
d02d0578-4689-45e3-aefb-78605e4b32a6/upstream

Tree @d02d0578-4689-45e3-aefb-78605e4b32a6/upstream (Download .tar.gz)

clean.go @d02d0578-4689-45e3-aefb-78605e4b32a6/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)
}