curator_registerable v0.1.0 Mix.Tasks.CuratorRegisterable.Install

Generates a Curator Registration Page.

mix curator_registerable.install

Optionally, you can provide a name for the users module

mix curator_registerable.install User users

The first argument is the module name followed by its plural name (used for schema).

The generated files will contain:

  • a view in web/views
  • a controller in web/controllers
  • new resources in web/templates
  • test file for the generated controller

Summary

Functions

A task needs to implement run which receives a list of command line args

Functions

run(args)

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.