Mix v1.5.1 mix loadconfig View Source
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.
Link to this section Summary
Link to this section Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.