Codebase list golang-github-gobuffalo-packr / d40fecd8-db21-4a14-8722-81c49b4f03fb/main packr / cmd / clean.go
d40fecd8-db21-4a14-8722-81c49b4f03fb/main

Tree @d40fecd8-db21-4a14-8722-81c49b4f03fb/main (Download .tar.gz)

clean.go @d40fecd8-db21-4a14-8722-81c49b4f03fb/mainraw · 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)
}