What is most common way of shell scripting in Clojure?

The part of Pallet that translates clojure s-expressions into shell script is called Stevedore and it is available as a separate library: https://github.com/pallet/stevedore

Documentation on both Pallet and Stevedore on the Pallet website might not always be complete or accurate (the docs are a bit behind current code), so it might require a bit of puzzling.

Out of curiosity, what kind of shell scripting would you like to do in Clojure?


If Stevedore seems overkill for your particular case you can make simple clojure scripts and run them like any shell scripts using 'lein-exec' Leiningen plug-in.

http://www.unexpected-vortices.com/clojure/brief-beginners-guide/standalone-scripts.html

Tags:

Shell

Clojure