An open API service indexing awesome lists of open source software.

https://github.com/michaeljones/mix-reorganize

A mix task to reorganise files into 'domain' folders
https://github.com/michaeljones/mix-reorganize

elixir mix-task

Last synced: 20 days ago
JSON representation

A mix task to reorganise files into 'domain' folders

Awesome Lists containing this project

README

          

# Mix Reorganize

A mix task to reorganise the generated files from phoenix `gen` tasks into domain-style folders.

Instead of having:

- `lib/my_app_web/controllers/user_controller.ex`
- `lib/my_app_web/views/user_view.ex`

It moves them to:

- `lib/my_app_web/user/controller.ex`
- `lib/my_app_web/user/view.ex`

## Status

It works but it is super basic. Lots of room for improvement.

## Support

Developement of this project is supported by [Contact Stack](https://www.contact-stack.com).