weeder-2.2.0: Detect dead code
Safe HaskellNone
LanguageHaskell2010

Weeder.Main

Description

This module provides an entry point to the Weeder executable.

Synopsis

Documentation

main :: IO () Source #

Parse command line arguments and into a Config and run mainWithConfig.

mainWithConfig :: String -> [FilePath] -> Bool -> Config -> IO () Source #

Run Weeder in the current working directory with a given Config.

This will recursively find all files with the given extension in the given directories, perform analysis, and report all unused definitions according to the Config.