new help command

This commit is contained in:
Anand Babu (AB) Periasamy
2015-11-14 23:37:00 -08:00
parent f94fca577b
commit dfbd6e6567
16 changed files with 73 additions and 34 deletions
-4
View File
@@ -41,10 +41,6 @@ USAGE:
}
func mainVersion(ctx *cli.Context) {
if ctx.Args().First() == "help" {
cli.ShowCommandHelpAndExit(ctx, "version", 1) // last argument is exit code
}
// Additional command speific theme customization.
console.SetColor("Version", color.New(color.FgGreen, color.Bold))