aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cljcc/cljcc.clj12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cljcc/cljcc.clj b/src/cljcc/cljcc.clj
new file mode 100644
index 0000000..6493b08
--- /dev/null
+++ b/src/cljcc/cljcc.clj
@@ -0,0 +1,12 @@
+(ns cljcc.cljcc
+ (:gen-class))
+
+(defn greet
+ "Callable entry point to the application."
+ [data]
+ (println (str "Hello, " (or (:name data) "World") "!")))
+
+(defn -main
+ "I don't do a whole lot ... yet."
+ [& args]
+ (greet {:name (first args)}))