pikajude / stylish-cabal

BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

stylish-cabal stylish-cabal stylish-cabal

Automatic formatting for Cabal files.

Examples

example.cabal and example-out.cabal demonstrate what stylish-cabal does.

Usage

# prints a highlighted and formatted version of myproject.cabal to stdout.
$ stylish-cabal myproject.cabal

# reformats myproject.cabal in-place.
$ stylish-cabal -i myproject.cabal

# pipe usage
$ cat myproject.cabal | stylish-cabal > myproject-formatted.cabal

Note that: