mix easy_page (easy_page v0.1.0)

Generates full featured pages, based on the configuration and templates provided.

Usage

> mix easy_page.new index="login" Index="Login"
Scaffolding 'new' with index="login" Index="Login"
Created file "lib/app_web/pages/login/login.ex"
Created file "lib/app_web/pages/login/mount.ex"
Created file "lib/app_web/pages/login/handlers.ex"
Created file "test/app_web/pages/login/login_test.exs"

You still need to manually add this page to your router, if not done already.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(cli_opts)

Callback implementation for Mix.Task.run/1.