UseCase v0.2.1 mix use_case.gen.phx_resource_json
Generates context, schema, migration, controllers, views and tests for a resource.
mix use_case.gen.phx_resource Posts Post posts title content image likes:int
The first argument is the context name, the second the resource name, the third the database table name for the resource and the others the resource fields.
Link to this section Summary
Link to this section Functions
Link to this function