| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Config
Contents
Synopsis
- loadConfig :: IO AppConfig
- saveConfig :: AppConfig -> IO ()
- getRepoPath :: IO FilePath
Documentation
loadConfig :: IO AppConfig Source #
Load configuration from the config file
saveConfig :: AppConfig -> IO () Source #
Save configuration to the config file
getRepoPath :: IO FilePath Source #
Get the repository path, either from config or default
Orphan instances
| FromJSON AppConfig Source # | |
| ToJSON AppConfig Source # | |
Methods toEncoding :: AppConfig -> Encoding toJSONList :: [AppConfig] -> Value toEncodingList :: [AppConfig] -> Encoding | |