File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,11 @@ import (
3030func initInitCommand () * cobra.Command {
3131 initCommand := & cobra.Command {
3232 Use : "init" ,
33- Short : "Initializes a new config file into the default location." ,
34- Long : "Initializes a new config file into the default location ($EXE_DIR/cli-config.yml)." ,
33+ Short : "Initializes a new configuration file into the default location." ,
34+ Long : "Initializes a new configuration file into the default location ($EXE_DIR/cli-config.yml)." ,
3535 Example : "" +
36- " # Creates a config file by asking questions to the user into the default location.\n " +
37- " " + os .Args [0 ] + " config init\n \n " +
38- " # Creates a config file with default configuration into default location.\n " +
39- " " + os .Args [0 ] + " config init --default\n " ,
36+ " # Creates a default configuration file into the default location.\n " +
37+ " " + os .Args [0 ] + " config init" ,
4038 Args : cobra .NoArgs ,
4139 Run : runInitCommand ,
4240 }
@@ -46,7 +44,6 @@ func initInitCommand() *cobra.Command {
4644}
4745
4846var initFlags struct {
49- _default bool // If false, ask questions to the user about setting configuration properties, otherwise use default configuration.
5047 location string // The custom location of the file to create.
5148}
5249
You can’t perform that action at this time.
0 commit comments