From 9f7251ea21ba46c64355c5e961166a423fa71b34 Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong Date: Thu, 16 Aug 2018 01:02:21 +0700 Subject: [PATCH] [refactor] Clean code --- cmd/config.go | 2 +- cmd/configInitial.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index 7ad8583..b04b592 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -37,7 +37,7 @@ var ( var configCmd = &cobra.Command{ Use: "config", Aliases: []string{"C", "configuration"}, - Short: "config [initial|set|get|open]", + Short: "config [initial|open]", Long: ``, Run: func(cmd *cobra.Command, args []string) { om.Log().ToInfo("config", "start...") diff --git a/cmd/configInitial.go b/cmd/configInitial.go index 1526631..92c5c3f 100644 --- a/cmd/configInitial.go +++ b/cmd/configInitial.go @@ -46,6 +46,7 @@ log: false commit: message: false ` + listYaml := `version: 1 list: - key: feature