-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a generator #53
Comments
You may be interested in https://github.com/lucasefe/gn by @lucasefe. |
Seems cool but would add dependencies to mote and clap into cuba.
Can I make a Pull request with something like that ? (with the class filed with classic cuba setup) |
Hey @gdurelle, indeed I would like to encourage you to build that tool, but as Cuba is just a library, I think it's better if it remains just that, without any code generators. But what you want could be a good and useful tool for a lot of people, and the naming could be some play with the Cuba/Rum theme. Then we could promote it independently. |
I'll do that then ! |
Excellent. A long time ago, in 2009, @djanowski and I wrote a similar tool for creating Sinatra apps, it was called monk, and I wouldn't write it like that today, but I'm linking to it just in case you find something interesting in those ideas :-) |
Here we go : My first gem ! :) |
Create a simple generator with basics configurations, default ones commented.
cuba new <projectName>
Creates:
That's it.
It keeps it small and speed up the dev process when using cuba for most use cases.
The text was updated successfully, but these errors were encountered: