stavro / arc

:paperclip: Flexible file upload and attachment library for Elixir
1.16k stars 210 forks source link

[docs] arc.g task - there is no info about path parameter #271

Open jakub-zawislak opened 5 years ago

jakub-zawislak commented 5 years ago

Docs says:

To start off, generate an attachment definition: mix arc.g avatar

It returns:

** (RuntimeError) path must be passed when generating an uploader.

bnenu commented 5 years ago

I had the same issue and it seems that you can run the task with a second param "mix arc.g ". Ex: mix arc.g avatar lib/uploaders.