1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-08 09:38:04 +00:00

Add Evaluate One Liners With lein-exec as a clojure til.

This commit is contained in:
jbranchaud
2015-08-05 18:19:54 -07:00
parent 647205e995
commit 9348f42f83
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Evaluate One Liners With lein-exec
You can install the [`lein-exec`](https://github.com/kumarshantanu/lein-exec)
plugin and then use it to evaluate one liner bits of code with the `-e`
flag.
```bash
$ lein exec -e '(println "foo" (+ 20 30))'
foo 50
```