sublayer icon indicating copy to clipboard operation
sublayer copied to clipboard

Look into how other ruby projects handle generating templates

Open swerner opened this issue 6 months ago • 1 comments

The code in cli.rb is already starting to get messy and complicated. I have to imagine there's is an established pattern for something like this.

I'm sure Rails has a really nice way of doing it, and I imagine at least Sinatra does as well. What other ruby projects let you generate new projects? Does everyone use Thor/ERB templates? Something else?

Keeping this ticket here as a placeholder to hold all the research and try to answer these questions before refactoring cli.rb and adding too many more templates or commands...

swerner avatar Aug 19 '24 01:08 swerner