Mix.Tasks.Sugar.Init

Creates Sugar support files for new projects after adding Sugar as a project dependency.

Command line options

  • --path - override the project path. Defaults to lib/[app name]
  • --priv-path - override the priv path. Defaults to priv
  • --no-repo - skip creation of Ecto Repo
Source

Summary

run(args)

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

Functions

run(args)

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

Source