Hey Zareh, this has been proposed many many times in the mailing list. The reason we won't do it is because we can't know where to add the dependency for sure (mix.exs is just code, it doesn't have a fixed format like a package.json for JavaScript has for example).
I think someone might have come up with a package that adds deps euristically, but can't remember for sure. Search through the other times it has been proposed here on the mailing list and you should find it :) Andrea On Fri, 9 Feb 2018 at 05:09, Zareh Petrossian <[email protected]> wrote: > Add packages at a terminal without having to go through a text editor... > > i.e. > > mix deps.add plug > > or > > mix do deps.add plug, deps.get, deps.compile > > I think the value/reasoning for this is quite self explanatory. > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/122f7d0d-4de1-4848-b0a0-926df263b67d%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/122f7d0d-4de1-4848-b0a0-926df263b67d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Andrea Leopardi [email protected] -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM9Rf%2BJiGByiMhA-WF7LBWCDf8iORyD1qBOTeTH1tgJTR9K9QA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
