MixEdit

Elixir mix tasks to add, remove and update dependencies from mix.exs (or Mix.Project)

Inspired by cargo-edit

Installation

If available in Hex, the package can be installed by adding mix_edit to your list of dependencies in mix.exs:

def deps do
  [
    {:mix_edit, github: "thomas9911/mix_edit"}
  ]
end

Or installed globally by:

mix archive.install github thomas9911/mix_edit

and uninstalled globally by:

mix archive.uninstall mix_edit

Examples

mix edit.add ex_doc
mix edit.remove ex_doc
mix edit.update ex_doc

For more examples and options check the mix help edit.add, mix help edit.ex_doc, mix help edit.update commands