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

Idea: trymodule . #25

Open
zeke opened this issue Nov 3, 2016 · 0 comments
Open

Idea: trymodule . #25

zeke opened this issue Nov 3, 2016 · 0 comments

Comments

@zeke
Copy link
Contributor

zeke commented Nov 3, 2016

Hey @victorbjelkholm. I love this module!

It would be cool to be able to run trymodule . or trymodule some/dir to load a REPL for a given directory, using the name of the directory as the name of required module:

cd projects/foo
trymodule .

Then in the repl, foo would be set to the value of require('.')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant