https://github.com/sulami/lein-deps-repl
Start a Clojure REPL with dependencies. Zero setup.
https://github.com/sulami/lein-deps-repl
clojure leiningen
Last synced: 5 months ago
JSON representation
Start a Clojure REPL with dependencies. Zero setup.
- Host: GitHub
- URL: https://github.com/sulami/lein-deps-repl
- Owner: sulami
- Created: 2019-03-13T12:41:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-13T12:42:07.000Z (almost 7 years ago)
- Last Synced: 2025-09-02T01:35:03.013Z (5 months ago)
- Topics: clojure, leiningen
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
./lein-deps-repl '[criterium "0.4.4"]'
```
The REPL defaults to
[rebel-readline](https://github.com/bhauman/rebel-readline), which I find much
better for quick exploration of a library, but it can be changed like this:
```bash
# default repl command
REPL_COMMAND=repl ./lein-deps-repl '[criterium "0.4.4"]'
```