clckwrks-0.21.0: A secure, reliable content management system (CMS) and blogging platform

Safe HaskellNone




data Flag Source

command-line Flags

isHelp :: Flag -> BoolSource

Flag selectors

isVersion :: Flag -> BoolSource

Flag selectors

clckwrksOpts :: ClckwrksConfig -> [OptDescr Flag]Source

Command line options.

parseArgs :: [OptDescr Flag] -> [String] -> IO (ClckwrksConfig -> IO ClckwrksConfig)Source

Parse the command line arguments into a list of flags. Exits with usage message, in case of failure.

helpMessage :: [OptDescr Flag] -> StringSource

A simple usage message listing all flags possible.