0.5.0 • Published 6 years ago
zprint-node v0.5.0
zprint-node
Another node.js wrapper for zprint
Installation
npm install -g zprint-node
How to use
Usage: zprint-node [options]
Options:
-V, --version output the version number
-i, --input <path> input file (.cljs, .clj, .cljc)
-o, --output <path> output file (.cljs, .clj, .cljc)
-c, --config <path> config file (edn file)
-h, --help output usage information
Configuration Interface
To learn how to create a .zprintrc
see the zprint documentation
Editor integration
Emacs
(defun zprint-this ()
(interactive)
(basic-save-buffer)
(shell-command (concat "zprint-node -i " buffer-file-name " -o " buffer-file-name " -c " (projectile-project-root) ".zprintrc")))
Thanks
- zprint-cljs for the inspiration
- zprint
License
MIT