It's possible to experiment with this by creating a custom mix task,
installing it as an archive and then running `iex -S mix try.package ...`.

On Mon, Jun 15, 2020 at 11:47 AM Abdullah Esmail <abdullah.esm...@gmail.com>
wrote:

> 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 elixir-lang-core+unsubscr...@googlegroups.com.
> 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>
> .
>


-- 
Best regards
Alexei Sholik

-- 
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 elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAAPY6eO4AD_1YK9eSLo9iybWz2F2w3N9G3Pj8534vuPLwcRiDg%40mail.gmail.com.

Reply via email to