plug_rest v0.10.0 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"
Summary
Functions
Callback implementation for Mix.Task.run/1
.