Skip to content

Commit

Permalink
update fate
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Sep 28, 2020
1 parent 0aa418e commit e6cdabf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cmd/console/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package main

import (
"fmt"
"github.com/godcong/fate"
"github.com/spf13/cobra"
)

func versionCMD() *cobra.Command {
cmd := &cobra.Command{
Use: "version",
Short: "print current version to screen",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("version:", fate.Version)
},
}
return cmd
}
4 changes: 4 additions & 0 deletions version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package fate

// Version ...
const Version = "v3.5.3"

0 comments on commit e6cdabf

Please sign in to comment.