brittany Command Examples

Pretty-print Haskell source files. More information: https://github.com/lspitzner/brittany#readme.

brittany {{path/to/file.hs}}

brittany --write-mode=inplace {{*.hs}}

brittany --check-mode {{path/to/file.hs}}

brittany --indent {{4}} --columns {{100}} {{path/to/file.hs}}

brittany --config-file {{path/to/config.yaml}} {{path/to/file.hs}}