Generating modules, templates and maybe injecting some code into specific Phoenix project files

Phoenix’s commands just use EEX (built in to elixir) to generate such files, you can do the same pretty easily. Phoenix also let’s you override it’s templates with your own as well.