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
3.19k stars 204 forks source link

[Feature Request] Allow to optionally create git repository #249

Closed tomasohCHOM closed 2 weeks ago

tomasohCHOM commented 1 month ago

Tell us about your feature request

Hello! First and foremost, I love this tool for creating new well-structured Go projects as someone who just started picking the language. My minor feature request: when creating a new project, go-blueprint automatically initializes a git repository and commits all the initial files. It would be nice if the user was given some more options with how the git repo is initialized:

  1. Initialize the git repository and commit the changes
  2. Initialize the git repository but ONLY stage the changes
  3. Proceed without initializing a git repository

This approach is similar to how Create T3 App handles it (except it does not have an option to automatically commit, just staging): Create T3 App.

I was not sure if this would be considered a breaking change, please let me know if it is.

Disclaimer

Melkeydev commented 1 month ago

Great suggestion - we discussed and will be implementing this a feature in a future release!

tomasohCHOM commented 1 month ago

Thank you for taking a look at my suggestion! Would it be possible if I can help contribute to that future feature request? Either way, I appreciate it :)

briancbarrow commented 1 month ago

@tomasohCHOM definitely! I'll assign the issue to you and you can start working on it.

tomasohCHOM commented 3 weeks ago

For sure, I will start working on it right now. Thank you!

Ujstor commented 2 weeks ago

Implemented in #270