Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- ifNewConfiguration :: ConfigurationPath -> (Path Abs File -> t) -> (Path Abs File -> t) -> t
- createDemoTemplateFileIfNotExist :: Path Abs File -> IO ()
- createDefaultConfigFile :: Path Abs Dir -> IO (Path Abs File)
- findOrCreateDefaultConfig :: Path Abs Dir -> FilePath -> IO ConfigurationPath
- parseApplicationConfig :: ConfigurationPath -> IO (AppExceptionMonad Configuration)
Documentation
ifNewConfiguration :: ConfigurationPath -> (Path Abs File -> t) -> (Path Abs File -> t) -> t #
findOrCreateDefaultConfig :: Path Abs Dir -> FilePath -> IO ConfigurationPath #
Creates a default "config.json" in the provided directory, if one is not found. TODO: MOVE