Skip to content

Start a Clojure REPL with dependencies. Zero setup.

Notifications You must be signed in to change notification settings

sulami/lein-deps-repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Lein Deps REPL

Sometimes you just want to try out a library in a REPL, but throwing up a Leiningen project or even a deps.edn file is so cumbersome. Leiningen can load in dependencies per invocation, but the syntax is quite convoluted, so I wrote this simple bash wrapper to be able to pull in one or more libraries and start a REPL with them.

Usage

./lein-deps-repl '[criterium "0.4.4"]'

The REPL defaults to rebel-readline, which I find much better for quick exploration of a library, but it can be changed like this:

# default repl command
REPL_COMMAND=repl ./lein-deps-repl '[criterium "0.4.4"]'

About

Start a Clojure REPL with dependencies. Zero setup.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages