Codebase list golang-github-gobuffalo-packr / 73cb50b3-1825-4ef0-82eb-9c27b75ab7c0/main packr / cmd / clean.go
73cb50b3-1825-4ef0-82eb-9c27b75ab7c0/main

Tree @73cb50b3-1825-4ef0-82eb-9c27b75ab7c0/main (Download .tar.gz)

clean.go @73cb50b3-1825-4ef0-82eb-9c27b75ab7c0/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)
}