create-go-app / cli

✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command.
https://github.com/create-go-app/cli/wiki
Apache License 2.0
2.61k stars 262 forks source link

[BUG] Unable to create new app on latest version when using a custom template. #132

Closed mystique09 closed 1 year ago

mystique09 commented 1 year ago

Required check list:

My environment:

Describe the bug:

Bug when creating a new app with custom template, In last prompt Y choice is still a No.

Steps to reproduce the behavior:

  1. run cgapp create -t
  2. In my case, I choose echo-go-template as backend template, so input github.com/create-go-app/echo-go-template
  3. Do the same thing for the frontend(pick your own frontend template).
  4. Lastly, type Y for the last prompt.

Expected behavior:

The app picks the no choice and closes.

Screenshots:

bug

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! 👍 Be sure to follow the issue template.

koddr commented 1 year ago

Hi,

@mystique09 if you've time, would be great to make PR with this fix 😉