plug_rest v0.9.1 Mix.Tasks.PlugRest.Gen.Resource
Generates a PlugRest resource in your Plug application.
mix plug_rest.gen.resource UserResource
The generated resource will contain:
- a resource file in lib/my_app/resources
The resources target directory can be changed with the option:
mix plug_rest.gen.resource UserResource --dir "web/resources"