importify-1.0: Tool for haskell imports refactoring

Safe HaskellNone
LanguageHaskell2010

Importify.Main.File

Description

Contains implementation of importify file command.

Synopsis

Documentation

data OutputOptions Source #

This data type dictates how output of importify should be outputed.

Constructors

ToConsole

Print to console

InPlace

Change file in-place

ToFile FilePath

Print to specified file

importifyFileOptions :: OutputOptions -> FilePath -> IO () Source #

Run importify file command with given options.

importifyFileContent :: Path Abs File -> IO (Either ImportifyFileException Text) Source #

Return result of importify file command.