curator_confirmable v0.1.0 Mix.Tasks.CuratorConfirmable.Install
Generates an email confirmation workflow for Curator.
mix curator_confirmable.install
Optionally, you can provide a name for the users module
mix curator_confirmable.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 template in web/templates
- a migration
- test file for the generated controller
If you already have a migration, the generated migration can be skipped
with --no-migration
.
Summary
Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.