Mix.Tasks.Phoenix.Gen.Scaffold

Generates a Controller/Model/View/Template scaffold

mix phoenix.gen.scaffold resource_name field_name:field_type

## Command line options

* `--repo=RepoName` - the repo to generate a migration for (defaults to `YourApp.Repo`)

## Examples

mix phoenix.gen.scaffold post title:string body:string --repo:MyApp.Repo

Summary

run(opts)

Callback implementation of Mix.Task.run/1

Functions

run(opts)

Callback implementation of Mix.Task.run/1.