View Source mix mod.relocate (modkit v0.5.1)

Relocates modules in application according to the :mount option in :modkit configuration defined in the project file (mix.exs).

If not defined, default mount points are defined as follows:

[
  {App, "lib/app"}
  {Mix.Tasks, "lib/mix/tasks", flavor: :mix_task}
]

usage

Usage

mix mod.relocate [options]

options

Options

  • -f, --force - This flag will make the command actually relocate the files.
  • -i, --interactive - This flag will make the command prompt for confirmation whenever a file can be relocated. Takes precedences over --force.
  • --help - Displays this help.