clj-beautify
is a clojure formatter implemented in clojure. The formatting
specification is based on the clojure.pprint/write
function.
As a dependency in a clojure project:
[clj-beautify "0.1.2"]
As a standalone cli tool
git clone https://github.com/comamitc/clj-beautify.git
cd clj-beautify
lein uberjar
As a standalone cli tool:
./clj-beautify.sh clj ./path/or/file/to/scan
As a library:
(:require [clj-beautify.core :refer [format-file]])
(format-file "./path/or/file/to/scan" "clj") ;; can be "clj" or "edn"
Copyright © 2015 Mitch Comardo
The MIT License (MIT)