Phoenix_gen_stealer - steal phoenix's generators for your own nefarious purposes

Inspired by this discussion: Customizing `mix phoenix.gen.*` tasks, I have written a simple script that allows you to steal phoenix’s generators into your own project, under your own namespace.

It works by cloning the phoenix repo, transforming some files (changing file names and module names so that they become part of your project’s namespace) and writing them into the correct places in your mix project. You can then customize them according to your needs.

Later, you can import the mix project you’ve just generated into your phoenix app, and use the generators from there. So this is actually a meta generator to generate packages containing generators.

Github repo here (with a more detailed README on how to use it):

I have no plans to distribute or package this script, but if anyone wants to distribute, you have my permission.