Add version info
This commit is contained in:
parent
e4f22be6c9
commit
0f7f29ce26
5
main.go
5
main.go
@ -8,9 +8,12 @@ import (
|
|||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const Version string = "v0.1.0"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
app := cli.App{
|
app := cli.App{
|
||||||
Name: "mf-cli",
|
Name: "mf-cli",
|
||||||
|
Version: Version,
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
{
|
{
|
||||||
Name: "auth",
|
Name: "auth",
|
||||||
|
Loading…
Reference in New Issue
Block a user