Fork me on GitHub
#unrepl
<
2017-11-14
>
cgrand16:11:54

Unravel started with current dir added to the target classpath

$ scripts/run -cp . 5555
Unravel 0.2.2 connected to localhost:5555

Type ^O for full docs of symbol under cursor, ^D to quit
Enter #__help for help

unrepl.replG__6027=> (-> (Thread/currentThread) .getContextClassLoader .getParent (.getResource "package.json") slurp)
#unrepl/string ["{\n  \"name\": \"unravel-repl\",\n  \"version\": \"0.2.2\",\n  \"description\": \"CLI REPL cli" #__1]

cgrand17:11:15

package.json is local to unravel but picked by the repl (which is running in another directory)

cgrand17:11:36

TODO: support for jar files