2019-06-25 11:42:17 +00:00
|
|
|
package cli
|
|
|
|
|
|
|
|
import (
|
|
|
|
"gopkg.in/urfave/cli.v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
var versionCmd = &cli.Command{
|
2019-06-28 09:03:28 +00:00
|
|
|
Name: "version",
|
2019-06-25 11:42:17 +00:00
|
|
|
Usage: "Print version",
|
|
|
|
Action: func(context *cli.Context) error {
|
|
|
|
// TODO: print more useful things
|
|
|
|
|
|
|
|
cli.VersionPrinter(context)
|
|
|
|
return nil
|
|
|
|
},
|
|
|
|
}
|