Mix.Tasks.Phoenix.Gen.Html

Generates a Phoenix resource.

mix phoenix.gen.html User users name:string age:integer

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

The generated resource will contain:

Read the documentation for phoenix.gen.model for more information on attributes and namespaced resources.

Source

Summary

run(args)

Callback implementation of Mix.Task.run/1

Functions

run(args)

Callback implementation of Mix.Task.run/1.

Source