Babashka¶
Shell scripting in clojure.
Sample clj file¶
test.clj:
#!/usr/bin/env bb
(->> *command-line-args*
first)
Make the file executable and run the following:
./test.clj Hello World # "Hello"
Emacs¶
bb --nrepl-server 1667
From emacs M-x cider-connect / spacemacs SPC s c.