aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/99designs/gqlgen/cmd/version.go
blob: 8b7442d4e67cdaad7f2e018f4de37eeb5fb24880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
	},
}