Setting the :main
key in the project.clj file directs Leiningen to run the -main
function in the specified namespace. It is not included in the default lein template, so you need to add it.
(ns my-stuff.core)
(defn -main [& args]
(println "Working!"))