@@ -82,7 +82,6 @@ func init() {
8282}
8383
8484var (
85- // rootCmd represents the base command when called without any subcommands
8685 rootCmd = & cobra.Command {
8786 Use : "answer" ,
8887 Short : "Answer is a minimalist open source Q&A community." ,
@@ -92,7 +91,6 @@ To run answer, use:
9291 - 'answer run' to launch application.` ,
9392 }
9493
95- // runCmd represents the run command
9694 runCmd = & cobra.Command {
9795 Use : "run" ,
9896 Short : "Run the application" ,
@@ -105,7 +103,6 @@ To run answer, use:
105103 },
106104 }
107105
108- // initCmd represents the init command
109106 initCmd = & cobra.Command {
110107 Use : "init" ,
111108 Short : "init answer application" ,
@@ -135,7 +132,6 @@ To run answer, use:
135132 },
136133 }
137134
138- // upgradeCmd represents the upgrade command
139135 upgradeCmd = & cobra.Command {
140136 Use : "upgrade" ,
141137 Short : "upgrade Answer version" ,
@@ -157,7 +153,6 @@ To run answer, use:
157153 },
158154 }
159155
160- // dumpCmd represents the dump command
161156 dumpCmd = & cobra.Command {
162157 Use : "dump" ,
163158 Short : "back up data" ,
@@ -179,7 +174,6 @@ To run answer, use:
179174 },
180175 }
181176
182- // checkCmd represents the check command
183177 checkCmd = & cobra.Command {
184178 Use : "check" ,
185179 Short : "checking the required environment" ,
@@ -214,7 +208,6 @@ To run answer, use:
214208 },
215209 }
216210
217- // buildCmd used to build another answer with plugins
218211 buildCmd = & cobra.Command {
219212 Use : "build" ,
220213 Short : "used to build answer with plugins" ,
@@ -235,7 +228,6 @@ To run answer, use:
235228 },
236229 }
237230
238- // pluginCmd prints all plugins packed in the binary
239231 pluginCmd = & cobra.Command {
240232 Use : "plugin" ,
241233 Short : "prints all plugins packed in the binary" ,
@@ -249,7 +241,6 @@ To run answer, use:
249241 },
250242 }
251243
252- // configCmd set some config to default value
253244 configCmd = & cobra.Command {
254245 Use : "config" ,
255246 Short : "set some config to default value" ,
@@ -286,7 +277,6 @@ To run answer, use:
286277 },
287278 }
288279
289- // i18nCmd used to merge i18n files
290280 i18nCmd = & cobra.Command {
291281 Use : "i18n" ,
292282 Short : "overwrite i18n files" ,
0 commit comments