mix waffle.g (waffle v1.1.7)
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/
example
Example
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.
example-1
Example
mix waffle.g avatar uploaders/avatar.ex # creates uploaders/avatar.ex
Link to this section Summary
Functions
Callback implementation for Mix.Task.run/1
.
Link to this section Functions
Link to this function
run(arg1)
Callback implementation for Mix.Task.run/1
.