hspretty-0.2.0.0: My opinionated Haskell project formatter.
Safe HaskellNone
LanguageHaskell2010

CLI

Description

This module performs the command-line interface for the formatter, and plumbs formatting actions through a streaming interface.

Synopsis

Documentation

run :: IO () Source #

Main entry point.

pathFilter :: PathFilter Source #

Default path filter.

formatter :: Formatter Source #

Default formatter.

fromJustUnsafe :: Maybe a -> a Source #

fromJust.

listDirRecursive :: Path Abs Dir -> AsyncT IO (Path Abs File) Source #

List a directory recursively for streaming.

newtype Args Source #

Command-line arguments.

Constructors

Args 

Fields

parseArgs :: IO Args Source #

Parse command-line arguments.

parser :: Parser Args Source #

Parser for command-line arguments.