File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,11 @@ import (
30
30
func initInitCommand () * cobra.Command {
31
31
initCommand := & cobra.Command {
32
32
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)." ,
35
35
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" ,
40
38
Args : cobra .NoArgs ,
41
39
Run : runInitCommand ,
42
40
}
@@ -46,7 +44,6 @@ func initInitCommand() *cobra.Command {
46
44
}
47
45
48
46
var initFlags struct {
49
- _default bool // If false, ask questions to the user about setting configuration properties, otherwise use default configuration.
50
47
location string // The custom location of the file to create.
51
48
}
52
49
You can’t perform that action at this time.
0 commit comments