mix loadconfig

Loads and persists the given configuration.

If no configuration file is given, it loads the project's configuration file, "config/config.exs", if it exists. Keep in mind that the "config/config.exs" file is always loaded by the CLI and invoking it is only required in cases you are starting Mix manually.

This task is automatically reenabled, so it can be called multiple times to load different configs.

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/mix/1.10.4/Mix.Tasks.Loadconfig.html