Safe Haskell | None |
---|
Module for parsing command line options and build queries. These functions are used by default, but user can supply his own functions.
Documentation
:: DateTime | Current date/time |
-> [String] | Command line args |
-> Either String (Options, [FilePath]) | Error message or (Options, list of files) |
Parse command line
glob :: [FilePath] -> IO [FilePath]Source
For given list of glob masks, return list of matching files
:: BaseConfig | Default config |
-> Options | Cmdline options |
-> DefaultConfig |
Build DefaultConfig (with query etc) from Options
Compose predicate from Composed