mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
* Use vendor code for all go calls * Add missing vendor dependencies * Add travis_retry to yarn install * Fix go test call
17 lines
253 B
Go
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)
|
|
},
|
|
}
|