update wording

This commit is contained in:
maddalax 2024-09-13 20:20:52 -05:00
parent 5843fafc7b
commit a37607fada
2 changed files with 7 additions and 3 deletions

View file

@ -84,4 +84,11 @@ func main() {
return return
} }
} }
fmt.Println("Template downloaded successfully.")
fmt.Println("To start the development server, run the following commands:")
fmt.Printf("cd %s && htmgo run\n", *outPath)
fmt.Printf("To build the project, run the following command:\n")
fmt.Printf("cd %s && htmgo build\n", *outPath)
} }

View file

@ -9,9 +9,6 @@ tasks:
desc: Generate template from source code desc: Generate template from source code
cmds: cmds:
- go run github.com/maddalax/htmgo/framework/tooling/downloadtemplate@latest -out my-app - go run github.com/maddalax/htmgo/framework/tooling/downloadtemplate@latest -out my-app
- echo "Template generated successfully to ./my-app"
- echo "To run the project, 'cd my-app && htmgo run'"
- echo "To build the project, 'cd my-app && htmgo build'"
setup: setup:
dir: '{{.USER_WORKING_DIR}}' dir: '{{.USER_WORKING_DIR}}'