dip/vendor/github.com/gobuffalo/packr/v2/packr2/cmd/version.go
Paul Lecuq 573d8f49e4
Some checks failed
continuous-integration/drone/push Build is failing
updated vendors
2020-08-01 19:02:19 +02:00

22 lines
333 B
Go

package cmd
import (
"fmt"
packr "github.com/gobuffalo/packr/v2"
"github.com/spf13/cobra"
)
var versionCmd = &cobra.Command{
Use: "version",
Short: "shows packr version",
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Println(packr.Version)
return nil
},
}
func init() {
rootCmd.AddCommand(versionCmd)
}