nickjj / orats

Opinionated rails application templates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Template

mastermindg opened this issue · comments

commented

How can a new template can be created and be accessible by orats?

$orats templates

   templates  Add `-t TEMPLATE` to the new command to use a template

        base  dockerized production ready application

You would add a template of your choosing to the "templates" directory in here:
https://github.com/nickjj/orats/tree/master/lib/orats/templates

Then you would call it with -t footemplate when you generate a new project.

Right now there's only 1, but internally it can support any number of templates.

Closing this as it's been answered.