Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
https://docs.go-blueprint.dev/
MIT License
5.96k stars 336 forks source link

Bug: The non-interactive command from tip message is broken #73

Closed basokant closed 1 year ago

basokant commented 1 year ago

Bug introduced in #59 (I messed up team). Remind me not to code at 4am. Also we very much need unit tests.

image
nickwarters commented 1 year ago

Suggest removing the --name flag from the tip message as running the command with it would result in a failure as the directory would already exist (if still in the same directory). If moving to another path and running the command, you'd be more likely to change the name rather than use the same one.

Thoughts on this @basokant ?

basokant commented 1 year ago

agreed, will add this to my PR as well. planning on getting valid flag values #61 in one PR as well.