forked from mirror/cobra
Remove confusing duplicate Execute from README (#554)
This commit is contained in:
parent
7b2c5ac9fc
commit
b3426bbac1
|
@ -224,10 +224,6 @@ func init() {
|
||||||
viper.SetDefault("license", "apache")
|
viper.SetDefault("license", "apache")
|
||||||
}
|
}
|
||||||
|
|
||||||
func Execute() {
|
|
||||||
RootCmd.Execute()
|
|
||||||
}
|
|
||||||
|
|
||||||
func initConfig() {
|
func initConfig() {
|
||||||
// Don't forget to read config either from cfgFile or from home directory!
|
// Don't forget to read config either from cfgFile or from home directory!
|
||||||
if cfgFile != "" {
|
if cfgFile != "" {
|
||||||
|
|
Loading…
Reference in New Issue