You can install the lein-execarrow-up-right plugin and then use it to evaluate one liner bits of code with the -e flag.
lein-exec
-e
$ lein exec -e '(println "foo" (+ 20 30))' foo 50
Last updated 4 years ago