qrz/vendor/github.com/gobuffalo/packr/v2/packr2/cmd/version.go
Paul Lecuq 36c5d6f2ed
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
large change on qrz
- web service with json support
- web page
- cron service to update database infos
2020-05-09 19:09:27 +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)
}