Eh

Lookup Elixir documentation for Elixir terms.

Eh works in the same way as Elixir’s built-in IEx.Helpers.h, except that it exposes that functionality as a mix task.

Summary

lookup(definition)

Lookup and print documentation on an Elixir term

main(list1)

Functions

lookup(definition)

Lookup and print documentation on an Elixir term.

This is intended to work like using IEx.Helpers.h in the iex shell, but without actually firing up iex.

definition can be something like:

  • String
  • String.to_integer
  • IO.ANSI.Docs.print
  • IO.ANSI.Docs.print/2
main(list1)