node-cljfmt
A small cli utility that runs https://github.com/weavejester/cljfmt on a file.Installation
npm install -g node-cljfmt
Usage
cljfmt <filename>
cljfmt --edn=<options.edn> <filename>
cat <filename> | cljfmt --edn=<options.edn>
options.edn
is an optional file containing a map of cljfmt options as laid out here: https://github.com/weavejester/cljfmt#configurationDeveloping
You can build the exectuablebin/cljfmt
with the following:# lein cljsbuild once release
# chmod +x bin/cljfmt