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
4.49k stars 269 forks source link

[Feature Request] Add support for advanced features to be chosen inside flags #183

Closed briancbarrow closed 7 months ago

briancbarrow commented 8 months ago

Tell us about your feature request

Currently a user can only select whether or not they want to choose from the advanced features when going through the prompts. There is no way to specify which features to add from the command line flags. Adding this will allow for faster setup if someone already knows what features they want.

This will also allow for advanced features to be included in the UI from issue #we

Disclaimer

Marcellofabrizio commented 8 months ago

@briancbarrow, could it be something like this?

go-blueprint create --advanced --features htmx go-workflow

briancbarrow commented 8 months ago

@briancbarrow, could it be something like this?

go-blueprint create --advanced --features htmx go-workflow

Yeah, that's basically what I was thinking

Marcellofabrizio commented 8 months ago

Ok, this seems like a good first issue.

briancbarrow commented 8 months ago

@Marcellofabrizio do you want me to assign it to you?

Marcellofabrizio commented 8 months ago

@briancbarrow Yes, assign it to me. I had a look at the code yesterday. I'm fairly new to Go, but I'll make sure it's a nice solution 🙂

briancbarrow commented 8 months ago

@Marcellofabrizio 👍 Let us know if you need anything.

Marcellofabrizio commented 8 months ago

@briancbarrow I created a PR for this #184

Marcellofabrizio commented 8 months ago

Hey @briancbarrow, I was wondering if there's something wrong in the PR since no one commented on it in a week. Did you manage to have a look?

briancbarrow commented 8 months ago

Hey @briancbarrow, I was wondering if there's something wrong in the PR since no one commented on it in a week. Did you manage to have a look?

I haven't had a chance to look at it yet. Sorry.

briancbarrow commented 8 months ago

@Marcellofabrizio I finally had a chance to review it. Left some comments. Feel free to reach out if you have any questions.