Home

Awesome

Puget CLI

The puget CLI can be used to pprint EDN values with colors. It is based on the puget library.

Installation

Brew (linux and macOS)

 brew install borkdude/brew/puget

Scoop (Windows)

See scoop-clojure.

Manual

Grab the binary for your OS at Github releases.

Usage

Pipe EDN to stdin. Provide options to puget.printer/pprint using --opts.

E.g.:

$ echo '[1 2 3]' | puget

This will invoke puget.printer/pprint. By default it uses colorized output which you can disable with:

$ echo '[1 2 3]' | puget --opts '{:print-color false}'

License

Copyright © 2020 Michiel Borkent

Distributed under the EPL License, same as Clojure. See LICENSE.