diff --git a/cobra/cmd/project.go b/cobra/cmd/project.go index 9b56e84..3f7a4c8 100644 --- a/cobra/cmd/project.go +++ b/cobra/cmd/project.go @@ -91,7 +91,7 @@ func (p *Project) createLicenseFile() error { } func (c *Command) Create() error { - cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.Project.AbsolutePath, c.CmdName)) + cmdFile, err := os.Create(fmt.Sprintf("%s/%s.go", c.Project.AbsolutePath, c.CmdName)) if err != nil { return err }