Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentations for methods and variables in Deno repl #16938

Open
bartlomieju opened this issue Dec 4, 2022 Discussed in #16917 · 1 comment
Open

Documentations for methods and variables in Deno repl #16938

bartlomieju opened this issue Dec 4, 2022 Discussed in #16917 · 1 comment
Labels
repl related to the Read-Eval-Print-Loop functionality of Deno

Comments

@bartlomieju
Copy link
Member

Discussed in #16917

Originally posted by ghmanoj December 3, 2022
Bring help documents in Deno repl.
For example in deno repl when I type

Deno.help(Deno.serveHttp)

Show the help document in the repl (something similar to Python repl) like below:

Screenshot 2022-12-03 at 12 20 54 PM
@bartlomieju
Copy link
Member Author

It would certainly be possible with #16800 to add repl.help() function. However I worry we might be limited to only showing help for Deno APIs (and maybe globals) with repl.help(Deno.serveHttp). I can't think of way how to reliably do it for any other imported module.

@bartlomieju bartlomieju added the repl related to the Read-Eval-Print-Loop functionality of Deno label Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl related to the Read-Eval-Print-Loop functionality of Deno
Projects
None yet
Development

No branches or pull requests

1 participant