mix ecto_resource.resources (ecto_resource v1.3.1)

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.create_user!/1
- Accounts.delete_user/1
- Accounts.delete_user!/1
- Accounts.get_user/2
- Accounts.get_user!/2
- Accounts.update_user/2
- Accounts.update_user!/2

Link to this section Summary

Functions

Run the task to list the resources.

Link to this section Functions

Specs

run(list()) :: any()

Run the task to list the resources.

Examples

iex>