I recently wanted to get information on all the dependencies (including sub-dependencies) in an Elixir project. After reading through some of the Mix and Hex code I came up with this simple Mix task.

You can add it to any project by dropping it in your_project/lib/mix/tasks/deps.info.ex. Then run it with mix deps.info

(disclaimer: this isn't very robust, it just got the job done)

Tags: programming, elixir