From a303eff707b317db585cadefc9dfb1c95ab8824a Mon Sep 17 00:00:00 2001 From: athul Date: Sat, 1 Feb 2020 11:49:07 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8Colors....Yay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cli.go b/cli.go index ab2b515..3b1f4c5 100644 --- a/cli.go +++ b/cli.go @@ -5,15 +5,16 @@ import ( "os" mets "github.com/athul/pwcli/methods" + "github.com/fatih/color" "github.com/urfave/cli" ) func main() { app := cli.NewApp() - app.Name = "Postwoman CLI" - app.Version = "0.0.1" - app.Usage = "Test API endpoints without the hassle" - app.Description = "Made with <3 by Postwoman Team" + app.Name = color.HiGreenString("Postwoman CLI") + app.Version = color.HiRedString("0.0.2") + app.Usage = color.HiYellowString("Test API endpoints without the hassle") + app.Description = color.HiBlueString("Made with <3 by Postwoman Team") getFlags := []cli.Flag{ cli.StringFlag{