Created
August 18, 2017 20:31
-
-
Save rplevy/c1e445affb042c9f57b03604a2ed8d83 to your computer and use it in GitHub Desktop.
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
# in my .bashrc | |
xmlclj() { planck -D funcool/tubax:0.2.0 -e "(require '[tubax.core :as tubax]) (require '[planck.core :refer [slurp]]) (require '[cljs.pprint :refer [pprint]])"'(pprint (tubax/xml->clj (slurp "'$1'")))'; } | |
# example: xmlclj /tmp/foo.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment