This is a nice proposal, but I'd rather have this go all the way and allow
me to pull Hex packages while maintaining the current IEx session, so
something like:

$ iex --hex
iex> Something.deps_get :some_http_client, "1.0.0"
iex> SomeHttpClient.get(...)


Best,

Stefan

pon., 15 cze 2020 o 10:47 Abdullah Esmail <[email protected]>
napisaƂ(a):

> Hello,
>
> I believe it would be extremely helpful to old and new elixir developers
> to be able to try out packages without the need to create a whole project.
> Developers coming from different backgrounds (python, ruby, etc) are used
> to getting into the interactive shell and just importing/requiring the
> package they need and start playing with it.
>
> I don't know if this is technically possible with iex, but it would
> definitely change how I work with elixir in general.
>
> Something like:
> iex --hex <package1> <package2>
>
> Even if it takes longer to start, at least I could try those packages
> without creating a dummy project and including those packages as
> dependencies and then compiling everything.
> One command to rule them all.
>
> Maybe `iex --hex` could create a temporary dummy project behind the scenes?
>
> For what it's worth, I'd be *very* willing to help work on implementing
> this if it's going to happen.
>
> I apologize if this has been discussed or brought up before. I couldn't
> find a similar topic.
>
> --
> 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/40ef0ab9-7d92-4601-b445-de7c5796c046o%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/40ef0ab9-7d92-4601-b445-de7c5796c046o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CACzMe7bTc_rfzwneWVruKYghGRePynjRAgXYXQGqTP_zon17hw%40mail.gmail.com.

Reply via email to