mirror of
https://github.com/spf13/cobra
synced 2025-05-07 22:07:23 +00:00
Removing initCmd, addCmd from README.md
Related to issue: https://github.com/spf13/cobra/issues/1124
This commit is contained in:
parent
94a87a7b83
commit
fa4f0b9f39
1 changed files with 0 additions and 3 deletions
|
@ -229,9 +229,6 @@ func init() {
|
||||||
viper.BindPFlag("useViper", rootCmd.PersistentFlags().Lookup("viper"))
|
viper.BindPFlag("useViper", rootCmd.PersistentFlags().Lookup("viper"))
|
||||||
viper.SetDefault("author", "NAME HERE <EMAIL ADDRESS>")
|
viper.SetDefault("author", "NAME HERE <EMAIL ADDRESS>")
|
||||||
viper.SetDefault("license", "apache")
|
viper.SetDefault("license", "apache")
|
||||||
|
|
||||||
rootCmd.AddCommand(addCmd)
|
|
||||||
rootCmd.AddCommand(initCmd)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func er(msg interface{}) {
|
func er(msg interface{}) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue