Skip to content

Commit

Permalink
Add version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbaraujo committed Dec 3, 2020
1 parent b588297 commit aa0b407
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/batler/batler.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import (
)

var (
flags = struct {
version = "0.1.0"
flags = struct {
projectPath string
}{}
rootCmd = &cobra.Command{
Expand All @@ -20,6 +21,7 @@ var (
Run: func(cmd *cobra.Command, args []string) {
runBatler()
},
Version: version,
}
)

Expand Down

0 comments on commit aa0b407

Please sign in to comment.