ecto_resource v0.1.5 mix ecto_resource.resources
Task to list the resources defined by EctoResource
within a context module.
Examples
$ mix ecto_resource.resources MyApp.MyContext
Within the context Account, the following resource functions have been generated:
User using the repo Repo:
- Accounts.all_users/1
- Accounts.change_user/1
- Accounts.create_user/1
- Accounts.delete_user/1
- Accounts.get_user/2
- Accounts.update_user/2
Link to this section Summary
Functions
A task needs to implement run
which receives
a list of command line args.
Link to this section Functions
Link to this function
run(contexts)
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.