scaffolding v0.1.0 ScaffoldingEngine View Source

Link to this section Summary

Functions

This function generate the phoenix controller, it needs 2 args: the controller name and the app_name (atom)

This function generate the phoenix controller, it needs 2 args: the controller name and the app_name (atom)

Link to this section Functions

Link to this function

generate_live_view(controller_name, app_name)

View Source

This function generate the phoenix controller, it needs 2 args: the controller name and the app_name (atom)

This function is called inside the mix tasks

iex> ScaffoldingEngine.generate_live_view("page1", :app_name)

Link to this function

generate_view(controller_name, app_name)

View Source

This function generate the phoenix controller, it needs 2 args: the controller name and the app_name (atom)

This function is called inside the mix tasks

iex> ScaffoldingEngine.generate_view("page1", :app_name)