GitHub - mcandre/ehrlich: Reviving dead code

Ehrlich is a small command line wrapper around the erl_tidy library. Ehrlich scans directories, reading .erl files and generating more idiomatic code.

Add the ehrlich directory to PATH.

$ cd src/
$ ./bin/ehrlich ehrlich/
reading module `./ehrlich/example.erl'.
./ehrlich/example.erl:7: expanding call to imported function `lists:map/2'.
./ehrlich/example.erl:7: replacing call to `lists:map/2' with a list comprehension.
./ehrlich/example.erl:7: changing application of fun-expression to local function call.
./ehrlich/example.erl:3: removing unused imports:
    `lists:map/2'