sublayer
sublayer copied to clipboard
Look into how other ruby projects handle generating templates
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...