Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Set version
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven Gonzales committed May 9, 2017
1 parent 53f9709 commit 4f67cde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
// Commands
var Commands []cli.Command

const Version = "0.1.0"

func setupApp() *cli.App {
app := cli.NewApp()

Expand All @@ -29,6 +31,7 @@ func setupApp() *cli.App {
Usage: "Set debug",
},
}
app.Version = Version

app.Before = func(c *cli.Context) error {
grpclog.SetLogger(log.StandardLogger())
Expand Down

0 comments on commit 4f67cde

Please sign in to comment.