lotus/cli/version.go

17 lines
256 B
Go
Raw Normal View History

package cli
import (
"gopkg.in/urfave/cli.v2"
)
var versionCmd = &cli.Command{
Name: "version",
Usage: "Print version",
Action: func(context *cli.Context) error {
// TODO: print more useful things
cli.VersionPrinter(context)
return nil
},
}