Skip to content

comamitc/clj-beautify

Repository files navigation

clj-beautify

clj-beautify is a clojure formatter implemented in clojure. The formatting specification is based on the clojure.pprint/write function.

Installation

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

Usage

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"

License

Copyright © 2015 Mitch Comardo

The MIT License (MIT)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published