mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
257 B
257 B
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