mix waffle.g (waffle v1.1.5)
A task for generating waffle uploader modules.
If generating an uploader in a Phoenix project, your a uploader will be generated in lib/[APP_NAME]_web/uploaders/
mix waffle.g avatar # creates lib/[APP_NAME]_web/uploaders/avatar.ex
If not generating an uploader in a Phoenix project, then you must pass the path to where the uploader should be generated.
mix waffle.g avatar uploaders/avatar.ex # creates uploaders/avatar.ex