Files
stash/vendor/github.com/99designs/gqlgen/cmd/version.go
WithoutPants 6a75d5551f Use vendor when building (#201)
* Use vendor code for all go calls

* Add missing vendor dependencies

* Add travis_retry to yarn install

* Fix go test call
2019-11-16 08:03:28 -08:00

17 lines
253 B
Go

package cmd
import (
"fmt"
"github.com/99designs/gqlgen/graphql"
"github.com/urfave/cli"
)
var versionCmd = cli.Command{
Name: "version",
Usage: "print the version string",
Action: func(ctx *cli.Context) {
fmt.Println(graphql.Version)
},
}