diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,9 +4,15 @@ package main import ( + "os" + "github.com/git-bug/git-bug/commands" ) func main() { - commands.Execute() + v, _ := getVersion() + root := commands.NewRootCommand(v) + if err := root.Execute(); err != nil { + os.Exit(1) + } } |