Skip to content

thomas9911/mix_edit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, "~> 0.1.0"},
    # or via github
    {:mix_edit, github: "thomas9911/mix_edit"}
  ]
end

Or installed globally by:

mix archive.install hex mix_edit

# or via github

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

About

Add dependencies with a simple command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages