Created
August 7, 2018 10:18
-
-
Save RickMoynihan/f8f5ee24eea9d64806cd390481652996 to your computer and use it in GitHub Desktop.
Example of using clojure cli tools to write a script that fetches dependencies via tools.deps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env clojure -Sdeps {:deps,{clj-time/clj-time,{:mvn/version,"0.14.4"}}} | |
(require '[clj-time.core :as t]) | |
(println (t/now)) | |
(println "Received command line arguments " *command-line-args*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment