View Source mix mod.relocate (modkit v0.6.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

mix mod.relocate [options]

Options

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