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('.')
Hey @VictorBjelkholm. I love this module!
It would be cool to be able to run
trymodule .
ortrymodule some/dir
to load a REPL for a given directory, using the name of the directory as the name of required module:Then in the repl,
foo
would be set to the value ofrequire('.')