This module contains some empty configs definitions and some function fields of defaultConfig
- emptyBaseConfig :: BaseConfig
- emptyConfig :: DefaultConfig
- defaultConfig :: TodosConfig DefaultConfig
- composeAll :: DateTime -> DefaultConfig -> Todo -> [Todo]
- defaultTodosFilter :: DateTime -> DefaultConfig -> [Todo] -> [Todo]
- parseCmdLine :: DateTime -> DefaultConfig -> [String] -> CmdLineParseResult DefaultConfig
- mkPrintConfig :: RuntimeConfig c => DateTime -> c -> TodosConfig c -> PrintConfig c
Documentation
emptyBaseConfig :: BaseConfigSource
Empty BaseConfig
emptyConfig :: DefaultConfigSource
Default empty DefaultConfig (nullConfig field of defaultConfig)
defaultConfig :: TodosConfig DefaultConfigSource
Default Todos config
composeAll :: DateTime -> DefaultConfig -> Todo -> [Todo]Source
Make a list transformer
defaultTodosFilter :: DateTime -> DefaultConfig -> [Todo] -> [Todo]Source
Default filter for TODOs (filterTodos field of defaultConfig)
:: DateTime | Current date/time |
-> DefaultConfig | Default config |
-> [String] | Command line args |
-> CmdLineParseResult DefaultConfig |
Parse command line (default function)
mkPrintConfig :: RuntimeConfig c => DateTime -> c -> TodosConfig c -> PrintConfig cSource
Prepare PrintConfig for console output functions. Is called from realTodos.