Safe Haskell | None |
---|---|
Language | Haskell2010 |
Importify.Main.File
Description
Contains implementation of importify file
command.
- data OutputOptions
- importifyFileOptions :: OutputOptions -> FilePath -> IO ()
- importifyFileContent :: Path Abs File -> IO (Either ImportifyFileException Text)
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 |
Instances
importifyFileOptions :: OutputOptions -> FilePath -> IO () Source #
Run importify file
command with given options.