forked from toolshed/abra
feat: add version command
This commit is contained in:
14
cli/version.go
Normal file
14
cli/version.go
Normal file
@ -0,0 +1,14 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
var VersionCommand = &cli.Command{
|
||||
Name: "version",
|
||||
Usage: "Print the version",
|
||||
Action: func(c *cli.Context) error {
|
||||
cli.VersionPrinter(c)
|
||||
return nil
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user