Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 257 Bytes

evaluate-one-liners-with-lein-exec.md

File metadata and controls

10 lines (8 loc) · 257 Bytes

Evaluate One Liners With lein-exec

You can install the lein-exec plugin and then use it to evaluate one liner bits of code with the -e flag.

$ lein exec -e '(println "foo" (+ 20 30))'
foo 50