From 75909c11fafd831f732956d142caedd7c1c94e4c Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong Date: Wed, 12 Sep 2018 00:36:49 +0700 Subject: [PATCH] [doc] Update document and version --- cmd/root.go | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index c6818aa..2e42d7e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -45,9 +45,21 @@ var verbose bool // rootCmd represents the base command when called without any subcommands. var rootCmd = &cobra.Command{ - Use: "gitgo", - Short: "gitgo command by Kamontat Chantrachurathumrong", - Version: "2.0.3", + Use: "gitgo", + Short: "gitgo command by Kamontat Chantrachurathumrong", + Long: `Gitgo: git commit for organize user. + +This command create by golang with cobra cli. + +Motivation by gitmoji, +I used to like gitmoji but emoji isn't made for none developer. +And the problem I got is I forget which emoji is represent what. +And hard to generate changelog file. +So I think 'short key text' is the solution of situation. + +2.1.0 -> Add commit initial command + `, + Version: "2.1.0", } // Execute is execute method that call by cobra cli.