mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
Remove confusing duplicate Execute from README (#554)
This commit is contained in:
parent
7b2c5ac9fc
commit
b3426bbac1
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue