View Source mix phx.gen.solid.service (phx_gen_solid v0.3.0)
Generates CRUD Services for a resource.
mix phx.gen.solid.service Accounts User users
The first argument is the context module followed by the schema module and its plural name.
This creates the following services:
MyApp.Accounts.Service.CreateUser
MyApp.Accounts.Service.UpdateUser
MyApp.Accounts.Service.DeleteUser
For more information about the generated Services, see the Overview.