Skip to content

Commit

Permalink
fix version bug, add author information
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikOlin committed May 17, 2021
1 parent 80b8dc5 commit 6a5faf6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"log"
"os"
"time"

"github.com/urfave/cli/v2"

Expand All @@ -12,7 +13,7 @@ import (
"github.com/PatrikOlin/butler-burton/util"
)

var version string
var Version string

func init() {
db.InitDB()
Expand All @@ -29,9 +30,16 @@ func main() {
}

app := &cli.App{
Name: "Butler Burton",
Usage: "Your personal butler",
Version: version,
Name: "Butler Burton",
Usage: "Your personal butler",
Version: Version,
Compiled: time.Now(),
Authors: []*cli.Author{
&cli.Author{
Name: "Patrik Olin",
Email: "[email protected]",
},
},
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "verbose",
Expand Down

0 comments on commit 6a5faf6

Please sign in to comment.