harrison-broadbent / railsg-feedback

Feedback repo for https://railsg.xyz
0 stars 0 forks source link

Create a Engine to allow run the command with a click #2

Open victorlcampos opened 11 months ago

victorlcampos commented 11 months ago

Will be nice, if in develop, there is a route like /generators ou somethink like this.

When we post the command there, we can click in a button that run the command like rails migration

harrison-broadbent commented 11 months ago

That's a really cool idea! I think that will be a long way in the future though — the railsg app is written in NextJS, so to create a Rails engine, I would have to completely port it over to Ruby on Rails, and then convert it to a runnable engine.

I still love the idea! Just that I have no short-term plans to do that.

You probably are aware, but the "COPY" button next to a command will automatically copy the whole thing for easy copy and pasting into the terminal at least.

Thanks @victorlcampos for the feedback, hope this answer helped!