title: Can't add new cobra CLI command when the file is inside a folder
body: <p>I am using cobra to build CLI.<br>
  I want to create a new command called <code>config</code> that will be inside the file <code>config.go</code> and the file inside the folder <code>proxy</code>.  </p>
  
  <p>This is the structure:  </p>
  
  <pre><code>MyProject
  ├── cmd
  |  ├── proxy
  |  |    └── config.go
  |  └── root.go
  └── main.go  
  </code></pre>
  
  <p>I created the command with cobra:  </p>
  
  <pre><code>cobra add config  
  </code></pre>
  
  <p>It created the file under <code>cmd</code> and I moved the file to be under the <code>proxy</code> folder (as appeared in the structure above).  </p>
  
  <p>The problem is that the command is not being added.<br>
  This is <code>config.go</code> code:  </p>
  
  <pre><code>// config.go
  package cmd
  
  import (
      "fmt"
      "github.com/spf13/cobra"
      "MyProject/cmd"
  )
  
  var configCmd = &amp;cobra.Command{
      Use:   "config",
      Short: "A brief description.",
      Long: `A longer description.`,
      Run: func(cmd *cobra.Command, args []string) {
          fmt.Println("config called")
      },
  }
  
  func init() {
      cmd.RootCmd.AddCommand(configCmd)
  }
  </code></pre>
  
  <p>It build successfully but I don't see the command when I run <code>MyProj.exe -h</code>.<br>
  Am I doning something wrong ?  </p>