From 766c8b8b2bc5be7ba72f893127b5f8a405d994c6 Mon Sep 17 00:00:00 2001 From: Aliaksandr Kazlou Date: Wed, 21 Nov 2018 17:46:30 +0300 Subject: [PATCH] Put email address and GitHub address and print them on the help --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index a9788f0..44c88a7 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,8 @@ func main() { app := cli.NewApp() app.Name = Name app.Version = Version - app.Authors = []cli.Author{{Name: "Aliaksandr Kazlou"}} + app.Authors = []cli.Author{{Name: "Aliaksandr Kazlou", Email: "aliaksandr.kazlou@gmail.com"}} + app.Metadata = map[string]interface{}{"GitHub": "https://github.com/zshamrock/vmx"} app.Usage = usage() app.EnableBashCompletion = true @@ -30,5 +31,6 @@ func main() { func usage() string { return fmt.Sprintf(` vmx is a tool for interacting with cloud instances (like AWS EC2, for example) over SSH +[https://github.com/zshamrock/vmx] `) }