diff --git a/framework/tooling/downloadtemplate/main.go b/framework/tooling/downloadtemplate/main.go index b1ae84b..9fae2c0 100644 --- a/framework/tooling/downloadtemplate/main.go +++ b/framework/tooling/downloadtemplate/main.go @@ -84,4 +84,11 @@ func main() { 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) } diff --git a/framework/tooling/htmgo/Taskfile.yml b/framework/tooling/htmgo/Taskfile.yml index c1fddb0..2f3141d 100644 --- a/framework/tooling/htmgo/Taskfile.yml +++ b/framework/tooling/htmgo/Taskfile.yml @@ -9,9 +9,6 @@ tasks: desc: Generate template from source code cmds: - 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: dir: '{{.USER_WORKING_DIR}}'