Mix v1.5.1 mix app.tree View Source

Prints the application tree.

mix app.tree --exclude logger --exclude elixir

If no application is given, it uses the current application defined in the mix.exs file.

Command line options

  • --exclude - exclude applications which you do not want to see printed. kernel, stdlib and compiler are always excluded from the tree.

  • --format - Can be set to one of either:

    • pretty - uses Unicode codepoints for formatting the tree. This is the default except on Windows.

    • plain - does not use Unicode codepoints for formatting the tree. This is the default on Windows.

    • dot - produces a DOT graph description of the application tree in app_tree.dot in the current directory. Warning: this will overwrite any previously generated file.

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

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.