Skip to content

Commit ac0b1e5

Browse files
committed
fix: new commits
1 parent 5dd712d commit ac0b1e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cmd/new.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
// newCmd represents the new command
2020
var newCmd = &cobra.Command{
2121
Use: "new",
22-
Short: "command for creating a new project.",
23-
Long: `command for creating a new project.`,
22+
Short: "this command for creating a new project.",
23+
Long: `this command for creating a new project.`,
2424
Run: func(cmd *cobra.Command, args []string) {
2525
// Check if the project name is provided
2626
if len(args) < 1 {
@@ -69,6 +69,8 @@ func createNewProject(projectName string, projectRouter string, tmpl string, out
6969
PortName: projectPort,
7070
}
7171

72+
fmt.Println("data templateData: ", data.ModuleName, data.PortName)
73+
7274
// Always add README + Makefile from common
7375
// FIX: Path corrected to "common" since templates.FS root is the templates/ directory content.
7476
err = renderTemplateDir("common", projectName, data)

0 commit comments

Comments
 (0)