Add tabl example

This commit is contained in:
Michiel Borkent 2020-12-26 23:23:45 +01:00
parent 4f7b6fe11d
commit 97cf20b525

10
examples/tabl.clj Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bb
(require '[babashka.pods :as pods])
(pods/load-pod 'justone/tabl "0.2.0")
(require '[pod.tabl.fancy :as fancy])
(require '[pod.tabl.doric :as doric])
(fancy/print-table [{:foo 1 :bar 2} {:foo 2 :bar 3}])
(doric/print-table [{:foo 1 :bar 2} {:foo 2 :bar 3}])