Phoenix generator templates customized to enforce Credo rules.
Targets Phoenix 1.8.x (tested against 1.8.7).
Add the repo as a git submodule to your Phoenix app (use --recurse-submodules when cloning projects that already include this submodule):
git submodule add https://github.com/optimumBA/optimum_templates priv/templatesWhen cloning a project that already has this submodule:
git clone --recurse-submodules <repo-url>Then run a generator, e.g.
mix phx.gen.auth Accounts User usersmix phx.gen.schema Accounts.User users name:string age:integer