Skip to content

Commit

Permalink
Merge pull request #206 from tockn/cli-app-author-email-deprecated
Browse files Browse the repository at this point in the history
Fix deprecation of urfave/cli
  • Loading branch information
Songmu committed Dec 4, 2019
2 parents fffc1e5 + 4e6d3ad commit 05db8f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions main.go
Expand Up @@ -28,8 +28,12 @@ func newApp() *cli.App {
app.Name = "ghq"
app.Usage = "Manage GitHub repository clones"
app.Version = fmt.Sprintf("%s (rev:%s)", version, revision)
app.Author = "motemen"
app.Email = "motemen@gmail.com"
app.Authors = []cli.Author{
{
Name: "motemen",
Email: "motemen@gmail.com",
},
}
app.Commands = commands
return app
}

0 comments on commit 05db8f1

Please sign in to comment.