Mix.Tasks.Sugar.Gen.View

Creates Sugar view files.

Command line options

  • --type=(eex|haml) - set type of view to generate. Defaults to eex
  • --path - override the project path. Defaults to lib/[app name]
Source

Summary

run(args)

Callback implementation for c:Mix.Task.run/1

run_detached(assigns)

Functions

run(args)

Callback implementation for c:Mix.Task.run/1.

Source
run_detached(assigns)
Source