curator_database_authenticatable v0.1.0 Mix.Tasks.CuratorDatabaseAuthenticatable.Install
Generates a Curator Based Session.
mix curator_database_authenticatable.install
Optionally, you can provide a name for the users module
mix curator_database_authenticatable.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
- 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
.