russellw / racket-format

Format Racket source code
MIT License
15 stars 1 forks source link

A tool to format Racket code.

Features:

If no arguments are specified, it formats the code from standard input and writes the result to standard output.

If files are given, it formats the files. If -i is specified together with files, the files are edited in place. Otherwise, the result is written to standard output.

Usage: racket-format [options] files

-h  Show help
-V  Show version
-i  Inplace edit

To build:

raco exe racket-format.rkt