Skip to content

help/1 in the REPL? #115

Closed
Closed

Description

@oubiwann

Do you think it would be possible to, in addition to the already-supported help/0 in the REPL, to have a help/1 for displaying module man pages?

> (help io_lib)

Activity

  1. rvirding commented on Mar 12, 2015

    @rvirding
    Member

    It would be possible if the man pages are downloaded into the "right places", otherwise not.

  2. arpunk commented on Jun 24, 2015

    @arpunk
    Contributor

    What about being able to printing out the docstring of a function via help/1?

    EDIT: Nevermind, I just saw the referenced issues: #87 and #67

  3. oubiwann commented on Jul 13, 2015

    @oubiwann
    MemberAuthor

    I think I like the idea of help/2 and help/3 as names, instead of describe. help/1 could even be used to get the help of REPL functions. This last would require that the help text for each REPL function be stored somewhere (perhaps in lfe_shell using the docstring module attributes, as proposed in the other ticket?). It would also mean that the output for help/0 could be generated automatically ...

  4. oubiwann commented on Oct 14, 2020

    @oubiwann
    MemberAuthor

    Lots of good work has gone into a solution for this problem; with LFE 2.0 we're even going to have support for Elixir docs metadata, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions