rob-0.0.5: Simple projects generator
Safe HaskellNone
LanguageHaskell2010

Rob.Config

Synopsis

Documentation

configFileName :: String Source #

Get the config file name

configFilePath :: IO FilePath Source #

Get the whole path to the config file

writeConfig :: Config -> IO Config Source #

Write the config file and return it

readConfig :: FilePath -> IO Config Source #

Read the config file and return it

get :: IO Config Source #

Get the current Config file Data | If it doesn't exist it will create a new one

errorNoTemplatesAvailable :: IO () Source #

Dispatch the no templates available error

addTemplate :: Config -> String -> String -> IO Config Source #

Add a new template to the config object and write it

deleteTemplate :: Config -> String -> IO Config Source #

Delete a template from the list of templates