Replies: 1 comment 5 replies
-
Figured it out: (ns zprint
(:require [babashka.deps :as deps]))
(deps/add-deps '{:deps {org.babashka/spec.alpha {:git/url "https://github.com/babashka/spec.alpha"
:git/sha "1a841c4cc1d4f6dab7505a98ed2d532dd9d56b78"}
zprint/zprint {:mvn/version "1.2.3"}}})
(require '[zprint.core :as zp])
(println (zp/zprint-file-str (slurp *file*) "yolo" {:color? true :style :dark-color-map})) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @kkinnear! I was trying to come up with a standalone zprint example in bb. E.g. to print a colorized output of the script itself:
How do I make this work with colorized output?
Beta Was this translation helpful? Give feedback.
All reactions