# `mix mod.relocate`
[🔗](https://github.com/lud/modkit/blob/main/lib/mix/tasks/mod.relocate.ex#L1)

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}
    ]

## Synopsis

    mix mod.relocate [options] [module]

## Arguments

* `module` - A single module to relocate. Defaults to all modules.

## 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`.
* `-v`, `--verbose` - Print all discovered modules and their current paths before relocating. Defaults to `false`.
* `--help` - Displays this help.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
